Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 194.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 68.08 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9104/0.9124, allocations: 168.7 MB / 1.274 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002679/0.9151, allocations: 1.431 MB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003651/0.9188, allocations: 2.719 MB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.9188, allocations: 4 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.9205, allocations: 0.5929 MB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.9206, allocations: 23.84 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.9206, allocations: 0 / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.9209, allocations: 154.9 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.056e-05/0.9209, allocations: 12.41 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.921, allocations: 67.7 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.9212, allocations: 79.58 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.9212, allocations: 0 / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.9225, allocations: 463.3 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.9226, allocations: 47.75 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.9227, allocations: 91.44 kB / 1.28 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.9234, allocations: 442 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9234, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9234, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9234, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000885/0.9243, allocations: 0.5525 MB / 1.281 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9243, allocations: 8.031 kB / 1.281 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.9245, allocations: 108 kB / 1.281 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.9248, allocations: 302.4 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.9249, allocations: 158.9 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/0.9249, allocations: 154.9 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.373e-05/0.925, allocations: 101.5 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.925, allocations: 75.47 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/0.9251, allocations: 154.5 kB / 1.282 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.31e-05/0.9252, allocations: 158.5 kB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.9252, allocations: 158.5 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.9257, allocations: 0.5328 MB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.9258, allocations: 169.1 kB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.9259, allocations: 80.14 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.9259, allocations: 83.27 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.862e-05/0.926, allocations: 113.8 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.926, allocations: 0 / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001912/0.9262, allocations: 57.45 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/0.9263, allocations: 130.7 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005492/0.9268, allocations: 433.3 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.9268, allocations: 25.7 kB / 1.283 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.927, allocations: 132.6 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.927, allocations: 4 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.9271, allocations: 89.67 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.9273, allocations: 334.8 kB / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.9274, allocations: 100.5 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.9276, allocations: 169.2 kB / 1.284 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.928, allocations: 305.6 kB / 1.284 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.928, allocations: 3.938 kB / 1.284 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005523/0.9285, allocations: 333 kB / 1.285 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9285, allocations: 8 kB / 1.285 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.9286, allocations: 3.938 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.9286, allocations: 4 kB / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.9286, allocations: 4.219 kB / 1.285 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.9286, allocations: 4 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.9287, allocations: 47.52 kB / 1.285 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.9288, allocations: 4 kB / 1.285 GB, free: 9.098 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.929, allocations: 241 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.084e-05/0.9291, allocations: 128.8 kB / 1.285 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.43e-05/0.9292, allocations: 118.9 kB / 1.285 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.501e-05/0.9293, allocations: 188.2 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.65e-05/0.9294, allocations: 180.3 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.445e-05/0.9295, allocations: 188.2 kB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.9298, allocations: 469.2 kB / 1.286 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.426e-05/0.9299, allocations: 101 kB / 1.286 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.9299, allocations: 108.9 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.734e-05/0.93, allocations: 184.3 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.028e-05/0.9301, allocations: 184.1 kB / 1.287 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-05/0.9302, allocations: 176.3 kB / 1.287 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001085/0.9303, allocations: 188.2 kB / 1.287 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.9305, allocations: 327.8 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.9306, allocations: 209.8 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.9308, allocations: 184.2 kB / 1.288 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.9309, allocations: 104.9 kB / 1.288 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.931, allocations: 184.3 kB / 1.288 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.9311, allocations: 113 kB / 1.288 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003051/0.9314, allocations: 271.1 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9314, allocations: 0 / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004018/0.9318, allocations: 91.86 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004199/0.9322, allocations: 302.8 kB / 1.289 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.9324, allocations: 119.9 kB / 1.289 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9324, allocations: 4.375 kB / 1.289 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.9324, allocations: 4 kB / 1.289 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.9328, allocations: 463 kB / 1.289 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.9336, allocations: 0.5059 MB / 1.29 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.934, allocations: 0.7782 MB / 1.291 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.476e-05/0.934, allocations: 4 kB / 1.291 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.9341, allocations: 7.438 kB / 1.291 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.9341, allocations: 0 / 1.291 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of Templates: time 0.007209/0.9413, allocations: 3.089 MB / 1.294 GB, free: 15.7 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.183374012820423]