Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9716/0.9716, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.16/2.16, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.717e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.004141/0.004168, allocations: 3.818 MB / 0.8819 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006903/0.01107, allocations: 6.506 MB / 0.8882 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003232/0.0114, allocations: 35.88 kB / 0.8883 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003748/0.01514, allocations: 1.954 MB / 0.8902 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008081/0.01595, allocations: 0.6333 MB / 0.8908 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 1.83e-05/0.01597, allocations: 4 kB / 0.8908 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02057/0.03654, allocations: 22.74 MB / 0.913 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.03678, allocations: 42.62 kB / 0.9131 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.03788, allocations: 0.7049 MB / 0.9137 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005644/0.03844, allocations: 0.5917 MB / 0.9143 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.03851, allocations: 32 kB / 0.9144 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.03865, allocations: 32 kB / 0.9144 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004837/0.03914, allocations: 0.8143 MB / 0.9152 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007509/0.03989, allocations: 470.6 kB / 0.9156 GB, free: 248 kB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.04086, allocations: 1.237 MB / 0.9168 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.04087, allocations: 0 / 0.9168 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.933e-06/0.04087, allocations: 0 / 0.9168 GB, free: 15 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.04089, allocations: 0 / 0.9168 GB, free: 15 MB / 0.8855 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.00213/0.04302, allocations: 2.557 MB / 0.9193 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.04306, allocations: 8.031 kB / 0.9193 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.04326, allocations: 337.7 kB / 0.9197 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.04524, allocations: 2.126 MB / 0.9217 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.0453, allocations: 238.4 kB / 0.922 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.04535, allocations: 242.4 kB / 0.9222 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.948e-05/0.04542, allocations: 144.9 kB / 0.9223 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003636/0.04579, allocations: 127.1 kB / 0.9225 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.04584, allocations: 242.4 kB / 0.9227 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/0.04589, allocations: 242.4 kB / 0.9229 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.441e-05/0.04595, allocations: 242.4 kB / 0.9232 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.04728, allocations: 1.805 MB / 0.9249 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.244e-05/0.04737, allocations: 261.4 kB / 0.9252 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.04741, allocations: 134.8 kB / 0.9253 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.04744, allocations: 119.2 kB / 0.9254 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.04749, allocations: 156.6 kB / 0.9256 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.04749, allocations: 0 / 0.9256 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0002321/0.04772, allocations: 248.2 kB / 0.9258 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.04778, allocations: 170.6 kB / 0.926 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.0502, allocations: 2.8 MB / 0.9287 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.05021, allocations: 25.7 kB / 0.9287 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.05126, allocations: 1.27 MB / 0.93 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.05126, allocations: 0 / 0.93 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.05129, allocations: 23.31 kB / 0.93 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.05139, allocations: 492.3 kB / 0.9304 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.0514, allocations: 4 kB / 0.9304 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-06/0.05141, allocations: 0 / 0.9304 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.973e-05/0.05143, allocations: 119.2 kB / 0.9306 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.8e-05/0.05146, allocations: 123.2 kB / 0.9307 GB, free: 0.5625 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001992/0.05166, allocations: 248.2 kB / 0.9309 GB, free: 320 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.0517, allocations: 123.2 kB / 0.931 GB, free: 196 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.05174, allocations: 127.2 kB / 0.9312 GB, free: 68 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.005e-05/0.05181, allocations: 246.4 kB / 0.9314 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-05/0.05183, allocations: 119.2 kB / 0.9315 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.892e-05/0.05188, allocations: 242.3 kB / 0.9317 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.05221, allocations: 127.2 kB / 0.9319 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.05223, allocations: 131.1 kB / 0.932 GB, free: 15.21 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0002077/0.05244, allocations: 395 kB / 0.9324 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.0526, allocations: 363.4 kB / 0.9327 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.05279, allocations: 317.1 kB / 0.933 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.934e-05/0.05285, allocations: 268 kB / 0.9333 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.755e-05/0.05291, allocations: 268.3 kB / 0.9335 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-05/0.05297, allocations: 268 kB / 0.9338 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.05424, allocations: 1.748 MB / 0.9355 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.402e-05/0.05428, allocations: 144.9 kB / 0.9356 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.05431, allocations: 156.8 kB / 0.9358 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.035e-05/0.05437, allocations: 264.1 kB / 0.936 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.05444, allocations: 272 kB / 0.9363 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-05/0.0545, allocations: 268.1 kB / 0.9365 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002665/0.05477, allocations: 268 kB / 0.9368 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.05506, allocations: 0.6602 MB / 0.9374 GB, free: 9.461 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.05529, allocations: 339.4 kB / 0.9378 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.05547, allocations: 276.1 kB / 0.938 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.05572, allocations: 152.8 kB / 0.9382 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.05579, allocations: 264.1 kB / 0.9384 GB, free: 8.422 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.05582, allocations: 148.9 kB / 0.9386 GB, free: 8.27 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001445/0.05727, allocations: 1.451 MB / 0.94 GB, free: 6.812 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.05727, allocations: 4 kB / 0.94 GB, free: 6.809 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003488/0.05762, allocations: 176 kB / 0.9402 GB, free: 6.637 MB / 0.9011 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.0001444/0.05776, allocations: 226.3 kB / 0.9404 GB, free: 6.406 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.893e-05/0.05782, allocations: 7.938 kB / 0.9404 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.05782, allocations: 0 / 0.9404 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.05782, allocations: 0 / 0.9404 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/0.06127, allocations: 2.613 MB / 0.9429 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.06423, allocations: 2.743 MB / 0.9456 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.0646, allocations: 0.4998 MB / 0.9461 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001026/0.06563, allocations: 331.4 kB / 0.9464 GB, free: 188 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.06574, allocations: 112.5 kB / 0.9465 GB, free: 76 kB / 0.9011 GB Notification: Performance of SimCode: time 1.342e-06/0.06574, allocations: 0 / 0.9465 GB, free: 76 kB / 0.9011 GB Notification: Performance of Templates: time 0.0538/0.1195, allocations: 53.49 MB / 0.9988 GB, free: 11.93 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.191755325999111]