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.001422/0.001422, allocations: 88.72 kB / 19.44 MB, free: 356 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.001681/0.001681, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.286/3.286, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",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.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 0.8776 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.436e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006042/0.006076, allocations: 3.505 MB / 0.881 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.01654, allocations: 6.09 MB / 0.8869 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004492/0.01699, allocations: 35.81 kB / 0.887 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005641/0.02263, allocations: 1.95 MB / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.02433, allocations: 0.6295 MB / 0.8895 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 7.202e-05/0.0244, allocations: 4 kB / 0.8895 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.03913/0.06354, allocations: 22.74 MB / 0.9117 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.06381, allocations: 42.62 kB / 0.9118 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.06552, allocations: 0.7088 MB / 0.9124 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.06671, allocations: 0.5878 MB / 0.913 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.06697, allocations: 32 kB / 0.913 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.06737, allocations: 28 kB / 0.9131 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.06841, allocations: 0.8143 MB / 0.9139 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009075/0.06932, allocations: 466.6 kB / 0.9143 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.07198, allocations: 2.001 MB / 0.9163 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.07199, allocations: 0 / 0.9163 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.704e-06/0.07199, allocations: 4 kB / 0.9163 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.641e-05/0.07205, allocations: 4 kB / 0.9163 GB, free: 14.84 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.004796/0.07685, allocations: 2.155 MB / 0.9184 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.0769, allocations: 16.03 kB / 0.9184 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004432/0.07734, allocations: 289.8 kB / 0.9187 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004706/0.08205, allocations: 2.462 MB / 0.9211 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.08214, allocations: 150.6 kB / 0.9212 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.921e-05/0.08222, allocations: 154.5 kB / 0.9214 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.08231, allocations: 105 kB / 0.9215 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.08236, allocations: 83.27 kB / 0.9215 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.08244, allocations: 150.6 kB / 0.9217 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.47e-05/0.08252, allocations: 154.6 kB / 0.9218 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.08261, allocations: 150.6 kB / 0.922 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.08445, allocations: 1.061 MB / 0.923 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.08458, allocations: 177 kB / 0.9232 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.08463, allocations: 80.14 kB / 0.9233 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.494e-05/0.08469, allocations: 75.28 kB / 0.9233 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.461e-05/0.08476, allocations: 105.8 kB / 0.9234 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.08476, allocations: 0 / 0.9234 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0004269/0.08519, allocations: 244.2 kB / 0.9237 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.08528, allocations: 130.7 kB / 0.9238 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/0.09001, allocations: 2.859 MB / 0.9266 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.09003, allocations: 25.7 kB / 0.9266 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.09113, allocations: 0.9028 MB / 0.9275 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.09113, allocations: 0 / 0.9275 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.09116, allocations: 9.719 kB / 0.9275 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.09132, allocations: 309.9 kB / 0.9278 GB, free: 2.801 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-06/0.09133, allocations: 0 / 0.9278 GB, free: 2.801 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-06/0.09133, allocations: 7.984 kB / 0.9278 GB, free: 2.793 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.09138, allocations: 75.28 kB / 0.9279 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-05/0.09142, allocations: 75.28 kB / 0.9279 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003476/0.09177, allocations: 244.2 kB / 0.9282 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.09183, allocations: 83.28 kB / 0.9283 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/0.09187, allocations: 83.28 kB / 0.9283 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.521e-05/0.09197, allocations: 150.6 kB / 0.9285 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.09202, allocations: 83.27 kB / 0.9286 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.134e-05/0.0921, allocations: 154.6 kB / 0.9287 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006283/0.09272, allocations: 95.19 kB / 0.9288 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.09277, allocations: 79.22 kB / 0.9289 GB, free: 1.68 MB / 0.8855 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.001127/0.09389, allocations: 0.9451 MB / 0.9298 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.09423, allocations: 323.5 kB / 0.9301 GB, free: 408 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.09464, allocations: 341.1 kB / 0.9304 GB, free: 56 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001127/0.09475, allocations: 176.3 kB / 0.9306 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001114/0.09486, allocations: 188.2 kB / 0.9308 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/0.09496, allocations: 176.3 kB / 0.931 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.09632, allocations: 0.9977 MB / 0.9319 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-05/0.09638, allocations: 108.9 kB / 0.932 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.09644, allocations: 105 kB / 0.9321 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.09655, allocations: 184.2 kB / 0.9323 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-05/0.09664, allocations: 176.3 kB / 0.9325 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.896e-05/0.09674, allocations: 188.2 kB / 0.9327 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.301e-05/0.09684, allocations: 184.2 kB / 0.9328 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.09728, allocations: 0.5223 MB / 0.9333 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.09772, allocations: 299.5 kB / 0.9336 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.09799, allocations: 184.2 kB / 0.9338 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.09854, allocations: 117 kB / 0.9339 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.09864, allocations: 180.3 kB / 0.9341 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.0987, allocations: 104.9 kB / 0.9342 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003356/0.1021, allocations: 2.098 MB / 0.9362 GB, free: 9.945 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1021, allocations: 0 / 0.9362 GB, free: 9.945 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005731/0.1026, allocations: 176 kB / 0.9364 GB, free: 9.773 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.0001636/0.1028, allocations: 170.5 kB / 0.9366 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 4.306e-05/0.1028, allocations: 7.938 kB / 0.9366 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1028, allocations: 0 / 0.9366 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.1028, allocations: 0 / 0.9366 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/0.109, allocations: 2.359 MB / 0.9389 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.1143, allocations: 3.533 MB / 0.9423 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.1158, allocations: 1.132 MB / 0.9434 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001564/0.1174, allocations: 435.5 kB / 0.9438 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.1176, allocations: 112.5 kB / 0.944 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of SimCode: time 1.673e-06/0.1176, allocations: 0 / 0.944 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of Templates: time 0.09207/0.2097, allocations: 54.09 MB / 0.9968 GB, free: 13.24 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.716730239917524]