Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.001756/0.001756, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001886/0.001886, allocations: 186 kB / 20.78 MB, free: 1.547 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.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.89 kB / 1.136 GB, free: 12.36 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.863/0.865, allocations: 173.6 MB / 1.305 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002715/0.8678, allocations: 2.134 MB / 1.308 GB, free: 31.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.8692, allocations: 1.197 MB / 1.309 GB, free: 31.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.8693, allocations: 3.125 kB / 1.309 GB, free: 31.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.8696, allocations: 115.3 kB / 1.309 GB, free: 31.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.987e-05/0.8697, allocations: 50.77 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.8703, allocations: 258.5 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.8706, allocations: 302.6 kB / 1.309 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.8707, allocations: 73.22 kB / 1.309 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.8708, allocations: 103.6 kB / 1.31 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.8709, allocations: 138.9 kB / 1.31 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.871, allocations: 29.41 kB / 1.31 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.8713, allocations: 231.9 kB / 1.31 GB, free: 30.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.054e-05/0.8713, allocations: 87.91 kB / 1.31 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.99e-05/0.8714, allocations: 154 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.8719, allocations: 0.5636 MB / 1.311 GB, free: 30.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8719, allocations: 0 / 1.311 GB, free: 30.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8719, allocations: 0 / 1.311 GB, free: 30.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.8719, allocations: 0 / 1.311 GB, free: 30.23 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009575/0.8729, allocations: 0.8169 MB / 1.312 GB, free: 29.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.8729, allocations: 18.7 kB / 1.312 GB, free: 29.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.873, allocations: 35.23 kB / 1.312 GB, free: 29.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.8733, allocations: 316.8 kB / 1.312 GB, free: 29.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.8733, allocations: 14.56 kB / 1.312 GB, free: 29.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.8733, allocations: 18.06 kB / 1.312 GB, free: 29.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.8739, allocations: 302.6 kB / 1.312 GB, free: 29.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.8739, allocations: 0 / 1.312 GB, free: 29.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.8739, allocations: 6.625 kB / 1.312 GB, free: 29.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8739, allocations: 2.812 kB / 1.312 GB, free: 29.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.8745, allocations: 271.6 kB / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007324/0.8752, allocations: 0.6685 MB / 1.313 GB, free: 28.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.8757, allocations: 226.9 kB / 1.313 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.876, allocations: 183.7 kB / 1.313 GB, free: 28.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.876, allocations: 0 / 1.313 GB, free: 28.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.876, allocations: 37.09 kB / 1.314 GB, free: 28.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.876, allocations: 7.938 kB / 1.314 GB, free: 28.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.001129/0.8772, allocations: 0.6699 MB / 1.314 GB, free: 28.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.8772, allocations: 138.1 kB / 1.314 GB, free: 27.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.8775, allocations: 382.4 kB / 1.315 GB, free: 27.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.8775, allocations: 29.7 kB / 1.315 GB, free: 27.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.8776, allocations: 166.5 kB / 1.315 GB, free: 27.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.8776, allocations: 52.38 kB / 1.315 GB, free: 27.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.8777, allocations: 46.97 kB / 1.315 GB, free: 27.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.8778, allocations: 344.4 kB / 1.315 GB, free: 27.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.8781, allocations: 240.4 kB / 1.316 GB, free: 27.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.8785, allocations: 240.8 kB / 1.316 GB, free: 27.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/0.8792, allocations: 0.6832 MB / 1.316 GB, free: 26.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8792, allocations: 0 / 1.316 GB, free: 26.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008487/0.88, allocations: 0.7286 MB / 1.317 GB, free: 26.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.139e-05/0.8801, allocations: 180.6 kB / 1.317 GB, free: 26.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8801, allocations: 0 / 1.317 GB, free: 26.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.8801, allocations: 4 kB / 1.317 GB, free: 26.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.8803, allocations: 27.38 kB / 1.317 GB, free: 26.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8803, allocations: 0 / 1.317 GB, free: 26.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.8804, allocations: 47.39 kB / 1.317 GB, free: 26.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.8805, allocations: 11.88 kB / 1.317 GB, free: 26 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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 prepare postOptimizeDAE: time 0.0001408/0.8806, allocations: 264.4 kB / 1.318 GB, free: 25.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.8807, allocations: 39.5 kB / 1.318 GB, free: 25.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.8807, allocations: 33.02 kB / 1.318 GB, free: 25.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.8807, allocations: 2.625 kB / 1.318 GB, free: 25.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.8807, allocations: 0 / 1.318 GB, free: 25.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8807, allocations: 0 / 1.318 GB, free: 25.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.881, allocations: 354.9 kB / 1.318 GB, free: 25.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.881, allocations: 0 / 1.318 GB, free: 25.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.8811, allocations: 30.19 kB / 1.318 GB, free: 25.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8811, allocations: 0 / 1.318 GB, free: 25.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.8811, allocations: 2.625 kB / 1.318 GB, free: 25.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8811, allocations: 6.625 kB / 1.318 GB, free: 25.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8811, allocations: 0 / 1.318 GB, free: 25.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.8819, allocations: 0.6186 MB / 1.319 GB, free: 25.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.8819, allocations: 112.9 kB / 1.319 GB, free: 24.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.882, allocations: 8.938 kB / 1.319 GB, free: 24.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.8822, allocations: 25.16 kB / 1.319 GB, free: 24.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.8823, allocations: 26.22 kB / 1.319 GB, free: 24.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.8823, allocations: 6.75 kB / 1.319 GB, free: 24.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002073/0.8825, allocations: 272.5 kB / 1.319 GB, free: 24.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.8825, allocations: 0 / 1.319 GB, free: 24.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003695/0.8829, allocations: 109.5 kB / 1.319 GB, free: 24.8 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0002355/0.8831, allocations: 162 kB / 1.319 GB, free: 24.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000898/0.884, allocations: 0.8144 MB / 1.32 GB, free: 24.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.884, allocations: 0 / 1.32 GB, free: 24.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.8844, allocations: 369.5 kB / 1.321 GB, free: 23.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.8848, allocations: 77.2 kB / 1.321 GB, free: 23.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.8856, allocations: 0.6519 MB / 1.321 GB, free: 23.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.8857, allocations: 0.7836 MB / 1.322 GB, free: 22.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.303e-05/0.8858, allocations: 20.55 kB / 1.322 GB, free: 22.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.8859, allocations: 21.72 kB / 1.322 GB, free: 22.84 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.8859, allocations: 2.906 kB / 1.322 GB, free: 22.84 MB / 1.061 GB Notification: Performance of Templates: time 0.01043/0.8963, allocations: 6.037 MB / 1.328 GB, free: 22.43 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.0617247056216]