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.00112/0.00112, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.002801/0.002801, allocations: 169 kB / 23.02 MB, free: 1.551 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.9601/0.9601, allocations: 177.1 MB / 203.4 MB, free: 5.668 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.056/2.056, allocations: 429.5 MB / 0.6732 GB, free: 4.07 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 2.034e-06/2.034e-06, allocations: 0 / 0.8781 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.133e-05, allocations: 6.25 kB / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.004005/0.004027, allocations: 3.837 MB / 0.8819 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.007913/0.01194, allocations: 6.541 MB / 0.8883 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004477/0.01239, allocations: 31.88 kB / 0.8883 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.01684, allocations: 1.958 MB / 0.8902 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008441/0.01769, allocations: 0.6255 MB / 0.8908 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.219e-05/0.01771, allocations: 4 kB / 0.8908 GB, free: 9.355 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02094/0.03865, allocations: 22.77 MB / 0.9131 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.03884, allocations: 38.62 kB / 0.9131 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.03985, allocations: 0.705 MB / 0.9138 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.04043, allocations: 0.5488 MB / 0.9143 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.46e-05/0.0405, allocations: 24 kB / 0.9144 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.04064, allocations: 24 kB / 0.9144 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.04116, allocations: 0.8026 MB / 0.9152 GB, free: 400 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.04157, allocations: 454.7 kB / 0.9156 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0009974/0.04256, allocations: 1.218 MB / 0.9168 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.04257, allocations: 3.984 kB / 0.9168 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.635e-06/0.04257, allocations: 0 / 0.9168 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.727e-05/0.0426, allocations: 0 / 0.9168 GB, free: 14.72 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.002494/0.04509, allocations: 2.53 MB / 0.9193 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.04515, allocations: 12.03 kB / 0.9193 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/0.04541, allocations: 337.7 kB / 0.9196 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.04733, allocations: 2.032 MB / 0.9216 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.0474, allocations: 246.3 kB / 0.9218 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.04746, allocations: 238.4 kB / 0.922 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.984e-05/0.04754, allocations: 144.9 kB / 0.9222 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.04757, allocations: 131.1 kB / 0.9223 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.04764, allocations: 238.4 kB / 0.9225 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.051e-05/0.04771, allocations: 238.4 kB / 0.9228 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.04778, allocations: 238.4 kB / 0.923 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.04925, allocations: 1.809 MB / 0.9248 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.04936, allocations: 265.4 kB / 0.925 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.0494, allocations: 130.9 kB / 0.9251 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.04944, allocations: 123.2 kB / 0.9253 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.04971, allocations: 156.6 kB / 0.9254 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.774e-06/0.04971, allocations: 0 / 0.9254 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0002571/0.04997, allocations: 244.2 kB / 0.9256 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.05005, allocations: 170.6 kB / 0.9258 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.0529, allocations: 2.808 MB / 0.9285 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.05292, allocations: 25.7 kB / 0.9286 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008913/0.05381, allocations: 1.266 MB / 0.9298 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.05381, allocations: 0 / 0.9298 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.05383, allocations: 15.38 kB / 0.9298 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.05397, allocations: 496.4 kB / 0.9303 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-06/0.05397, allocations: 0 / 0.9303 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.05398, allocations: 4.047 kB / 0.9303 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.357e-05/0.05401, allocations: 123.2 kB / 0.9304 GB, free: 0.5156 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-05/0.05404, allocations: 119.2 kB / 0.9305 GB, free: 408 kB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001983/0.05424, allocations: 244.2 kB / 0.9308 GB, free: 156 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.05429, allocations: 131.2 kB / 0.9309 GB, free: 24 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/0.05433, allocations: 123.2 kB / 0.931 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.416e-05/0.05441, allocations: 238.4 kB / 0.9312 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.454e-05/0.05444, allocations: 127.1 kB / 0.9314 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.916e-05/0.0545, allocations: 238.4 kB / 0.9316 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.05477, allocations: 131.1 kB / 0.9317 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.0548, allocations: 127.1 kB / 0.9318 GB, free: 15.05 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.0002251/0.05503, allocations: 399 kB / 0.9322 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004015/0.05543, allocations: 363.4 kB / 0.9326 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.05564, allocations: 321.1 kB / 0.9329 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.366e-05/0.05571, allocations: 264.1 kB / 0.9331 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7e-05/0.05578, allocations: 268.2 kB / 0.9334 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.045e-05/0.05585, allocations: 272.1 kB / 0.9336 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.05711, allocations: 1.752 MB / 0.9353 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.05714, allocations: 148.9 kB / 0.9355 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.05718, allocations: 144.9 kB / 0.9356 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.498e-05/0.05726, allocations: 276 kB / 0.9359 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.05734, allocations: 264.1 kB / 0.9361 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.754e-05/0.0574, allocations: 268 kB / 0.9364 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.428e-05/0.05748, allocations: 272.1 kB / 0.9366 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.05778, allocations: 0.664 MB / 0.9373 GB, free: 9.285 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.05801, allocations: 335.4 kB / 0.9376 GB, free: 8.949 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.05819, allocations: 268 kB / 0.9379 GB, free: 8.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.05842, allocations: 160.9 kB / 0.938 GB, free: 8.516 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.0585, allocations: 264.1 kB / 0.9383 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.05854, allocations: 152.8 kB / 0.9384 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001628/0.06017, allocations: 1.455 MB / 0.9398 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.1e-08/0.06017, allocations: 0 / 0.9398 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003242/0.06049, allocations: 176 kB / 0.94 GB, free: 6.461 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.0001321/0.06062, allocations: 214.4 kB / 0.9402 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.228e-05/0.06068, allocations: 3.938 kB / 0.9402 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.06068, allocations: 0 / 0.9402 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.06068, allocations: 0 / 0.9402 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/0.06403, allocations: 2.619 MB / 0.9428 GB, free: 3.668 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.06678, allocations: 2.743 MB / 0.9455 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.06714, allocations: 0.5036 MB / 0.9459 GB, free: 348 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008107/0.06796, allocations: 319.5 kB / 0.9463 GB, free: 24 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.06807, allocations: 112.5 kB / 0.9464 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of SimCode: time 1.082e-06/0.06807, allocations: 0 / 0.9464 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.05687/0.1249, allocations: 56.95 MB / 1.002 GB, free: 8.297 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.38090797001496]