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.001044/0.001044, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00108/0.00108, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.024/1.024, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.063/2.063, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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.372e-06/1.372e-06, allocations: 0 / 0.8794 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.802e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003728/0.003756, allocations: 3.772 MB / 0.8831 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.007026/0.01078, allocations: 6.467 MB / 0.8894 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.01111, allocations: 27.88 kB / 0.8894 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.01501, allocations: 1.954 MB / 0.8913 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.0161, allocations: 0.6333 MB / 0.8919 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.535e-05/0.01612, allocations: 4 kB / 0.8919 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02232/0.03844, allocations: 22.63 MB / 0.914 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.0387, allocations: 42.62 kB / 0.9141 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.03982, allocations: 0.7049 MB / 0.9148 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005407/0.04036, allocations: 0.5448 MB / 0.9153 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.04041, allocations: 24 kB / 0.9153 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.04054, allocations: 24 kB / 0.9153 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004609/0.041, allocations: 0.8065 MB / 0.9161 GB, free: 368 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.0414, allocations: 454.7 kB / 0.9166 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0009187/0.04232, allocations: 1.222 MB / 0.9177 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.04233, allocations: 0 / 0.9177 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/0.04233, allocations: 0 / 0.9177 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.04235, allocations: 0 / 0.9177 GB, free: 14.69 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.002156/0.0445, allocations: 2.525 MB / 0.9202 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.04454, allocations: 12.03 kB / 0.9202 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.04476, allocations: 345.6 kB / 0.9206 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.04656, allocations: 1.993 MB / 0.9225 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.23e-05/0.04663, allocations: 242.4 kB / 0.9227 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.0467, allocations: 246.4 kB / 0.923 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.779e-05/0.04678, allocations: 144.9 kB / 0.9231 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.04681, allocations: 119.2 kB / 0.9232 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.04688, allocations: 238.4 kB / 0.9234 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/0.04694, allocations: 242.4 kB / 0.9237 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.743e-05/0.04701, allocations: 246.3 kB / 0.9239 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.04803, allocations: 1.218 MB / 0.9251 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.04815, allocations: 265.4 kB / 0.9254 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.04819, allocations: 126.9 kB / 0.9255 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.04823, allocations: 119.2 kB / 0.9256 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.04829, allocations: 164.5 kB / 0.9257 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.04829, allocations: 0 / 0.9257 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0002395/0.04853, allocations: 240.2 kB / 0.926 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.0486, allocations: 170.6 kB / 0.9261 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.05094, allocations: 2.76 MB / 0.9288 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.05096, allocations: 25.7 kB / 0.9289 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.05197, allocations: 1.308 MB / 0.9301 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.05197, allocations: 0 / 0.9301 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.052, allocations: 19.38 kB / 0.9302 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.05217, allocations: 488.4 kB / 0.9306 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-06/0.05218, allocations: 0 / 0.9306 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/0.05219, allocations: 12.03 kB / 0.9306 GB, free: 1.238 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.05223, allocations: 123.2 kB / 0.9307 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.262e-05/0.05227, allocations: 123.2 kB / 0.9309 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002194/0.05249, allocations: 244.2 kB / 0.9311 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/0.05255, allocations: 125.2 kB / 0.9312 GB, free: 0.6289 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.913e-05/0.05259, allocations: 119.2 kB / 0.9313 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.455e-05/0.05266, allocations: 246.3 kB / 0.9316 GB, free: 276 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.85e-05/0.05269, allocations: 119.2 kB / 0.9317 GB, free: 156 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.59e-05/0.05276, allocations: 242.3 kB / 0.9319 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.05304, allocations: 131.2 kB / 0.932 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.05307, allocations: 127.2 kB / 0.9322 GB, free: 15.66 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.0002404/0.05331, allocations: 398.9 kB / 0.9325 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.05347, allocations: 363.4 kB / 0.9329 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.05366, allocations: 317.1 kB / 0.9332 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/0.05372, allocations: 268 kB / 0.9334 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.084e-05/0.05378, allocations: 268.3 kB / 0.9337 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-05/0.05384, allocations: 264.1 kB / 0.9339 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.05469, allocations: 1.208 MB / 0.9351 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.729e-05/0.05472, allocations: 144.9 kB / 0.9353 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.05476, allocations: 152.8 kB / 0.9354 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/0.05482, allocations: 268.1 kB / 0.9357 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/0.05488, allocations: 264.1 kB / 0.9359 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.277e-05/0.05494, allocations: 279.9 kB / 0.9362 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.418e-05/0.05501, allocations: 268.1 kB / 0.9364 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.0553, allocations: 0.6562 MB / 0.9371 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.0555, allocations: 339.4 kB / 0.9374 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.05566, allocations: 268 kB / 0.9377 GB, free: 9.844 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.05591, allocations: 148.9 kB / 0.9378 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.05597, allocations: 276 kB / 0.9381 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.056, allocations: 148.9 kB / 0.9382 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001038/0.05704, allocations: 1.345 MB / 0.9395 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/0.05704, allocations: 0 / 0.9395 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000314/0.05736, allocations: 180 kB / 0.9397 GB, free: 7.734 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.0001268/0.05748, allocations: 214.4 kB / 0.9399 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 3.793e-05/0.05752, allocations: 7.938 kB / 0.9399 GB, free: 7.508 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.05752, allocations: 0 / 0.9399 GB, free: 7.508 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.05752, allocations: 0 / 0.9399 GB, free: 7.508 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.06093, allocations: 2.616 MB / 0.9425 GB, free: 4.938 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.06358, allocations: 2.743 MB / 0.9451 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.06399, allocations: 0.4997 MB / 0.9456 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001159/0.06515, allocations: 299.5 kB / 0.9459 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/0.06739, allocations: 1.231 MB / 0.9471 GB, free: 84 kB / 0.9011 GB Notification: Performance of SimCode: time 2.385e-06/0.06739, allocations: 0 / 0.9471 GB, free: 84 kB / 0.9011 GB Notification: Performance of Templates: time 0.06225/0.1296, allocations: 58.49 MB / 1.004 GB, free: 6.922 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.2738558277487755]