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.0009328/0.0009328, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001049/0.001049, allocations: 169 kB / 23.27 MB, free: 1.223 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.9231/0.9231, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.431/2.431, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.613e-06/1.613e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.619e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005002/0.005018, allocations: 3.774 MB / 0.8934 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009541/0.01456, allocations: 6.464 MB / 0.8997 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004336/0.01499, allocations: 27.88 kB / 0.8998 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.003758/0.01875, allocations: 1.95 MB / 0.9017 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007359/0.01949, allocations: 0.6411 MB / 0.9023 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 1.828e-05/0.0195, allocations: 0 / 0.9023 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0187/0.0382, allocations: 22.63 MB / 0.9244 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.03843, allocations: 46.62 kB / 0.9244 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.03944, allocations: 0.701 MB / 0.9251 GB, free: 5.426 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/0.04004, allocations: 0.5448 MB / 0.9256 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.04011, allocations: 20 kB / 0.9257 GB, free: 4.859 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.04026, allocations: 28 kB / 0.9257 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.04077, allocations: 0.8104 MB / 0.9265 GB, free: 4.02 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004249/0.0412, allocations: 450.6 kB / 0.9269 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.04221, allocations: 1.218 MB / 0.9281 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.04221, allocations: 0 / 0.9281 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.473e-06/0.04221, allocations: 0 / 0.9281 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.393e-05/0.04225, allocations: 0 / 0.9281 GB, free: 2.355 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.002333/0.04458, allocations: 2.541 MB / 0.9306 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.04463, allocations: 8.625 kB / 0.9306 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.04489, allocations: 341.7 kB / 0.9309 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.04666, allocations: 2.001 MB / 0.9329 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/0.04673, allocations: 238.4 kB / 0.9331 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.04678, allocations: 238.4 kB / 0.9333 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.245e-05/0.04684, allocations: 148.9 kB / 0.9335 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.04687, allocations: 119.2 kB / 0.9336 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.04692, allocations: 238.4 kB / 0.9338 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/0.04697, allocations: 238.4 kB / 0.934 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.04703, allocations: 246.3 kB / 0.9343 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.04792, allocations: 1.218 MB / 0.9355 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.048, allocations: 261.4 kB / 0.9357 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.04803, allocations: 134.9 kB / 0.9358 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.04806, allocations: 119.2 kB / 0.9359 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.0481, allocations: 152.6 kB / 0.9361 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.0481, allocations: 0 / 0.9361 GB, free: 9.969 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 0.0002167/0.04832, allocations: 244.2 kB / 0.9363 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.04837, allocations: 174.6 kB / 0.9365 GB, free: 9.539 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.0505, allocations: 2.752 MB / 0.9392 GB, free: 6.773 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.05051, allocations: 29.69 kB / 0.9392 GB, free: 6.738 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008682/0.05138, allocations: 1.312 MB / 0.9405 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.05138, allocations: 0 / 0.9405 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.0514, allocations: 19.38 kB / 0.9405 GB, free: 5.395 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.05152, allocations: 496.4 kB / 0.941 GB, free: 4.902 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-06/0.05152, allocations: 0 / 0.941 GB, free: 4.902 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-06/0.05153, allocations: 0 / 0.941 GB, free: 4.902 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.1e-05/0.05156, allocations: 119.2 kB / 0.9411 GB, free: 4.785 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.921e-05/0.05159, allocations: 123.1 kB / 0.9412 GB, free: 4.664 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001941/0.05178, allocations: 244.2 kB / 0.9414 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.05183, allocations: 127.2 kB / 0.9416 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.05186, allocations: 119.2 kB / 0.9417 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.53e-05/0.05192, allocations: 242.3 kB / 0.9419 GB, free: 3.938 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.3e-05/0.05196, allocations: 119.2 kB / 0.942 GB, free: 3.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.645e-05/0.05201, allocations: 250.4 kB / 0.9423 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.05225, allocations: 131.1 kB / 0.9424 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.05227, allocations: 119.2 kB / 0.9425 GB, free: 3.328 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.0002147/0.05249, allocations: 398.9 kB / 0.9429 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.05266, allocations: 367.4 kB / 0.9432 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.05286, allocations: 317.1 kB / 0.9435 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.478e-05/0.05292, allocations: 264.1 kB / 0.9438 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.968e-05/0.05299, allocations: 272.1 kB / 0.944 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.488e-05/0.05306, allocations: 276.1 kB / 0.9443 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008227/0.05388, allocations: 1.196 MB / 0.9455 GB, free: 196 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/0.05392, allocations: 144.9 kB / 0.9456 GB, free: 44 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.05397, allocations: 152.9 kB / 0.9458 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.558e-05/0.05403, allocations: 272.3 kB / 0.946 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.05409, allocations: 268.1 kB / 0.9463 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.219e-05/0.05415, allocations: 276 kB / 0.9465 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.615e-05/0.05422, allocations: 268.1 kB / 0.9468 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.05451, allocations: 0.6562 MB / 0.9474 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.05473, allocations: 335.4 kB / 0.9478 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.0549, allocations: 272 kB / 0.948 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.05513, allocations: 152.9 kB / 0.9482 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.05522, allocations: 276 kB / 0.9484 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.05525, allocations: 144.9 kB / 0.9486 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001194/0.05645, allocations: 1.349 MB / 0.9499 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.05645, allocations: 0 / 0.9499 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003296/0.05678, allocations: 176 kB / 0.95 GB, free: 11.39 MB / 0.9167 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.0001543/0.05693, allocations: 214.4 kB / 0.9503 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.338e-05/0.05698, allocations: 0 / 0.9503 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.05698, allocations: 0 / 0.9503 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.05698, allocations: 7.938 kB / 0.9503 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003512/0.06049, allocations: 2.61 MB / 0.9528 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.06308, allocations: 2.754 MB / 0.9555 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.06345, allocations: 0.4997 MB / 0.956 GB, free: 5.262 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007152/0.06417, allocations: 291.6 kB / 0.9563 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/0.06599, allocations: 1.231 MB / 0.9575 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of SimCode: time 1.182e-06/0.06599, allocations: 0 / 0.9575 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of Templates: time 0.05582/0.1218, allocations: 58.02 MB / 1.014 GB, free: 11.4 MB / 0.9792 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.006014510057867]