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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 200.2 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 497.2 MB / 0.7845 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001923/0.001923, allocations: 70.14 kB / 1.139 GB, free: 33.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2987, allocations: 173.9 MB / 1.309 GB, free: 16 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006075/0.3048, allocations: 3.844 MB / 1.313 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3154, allocations: 6.42 MB / 1.319 GB, free: 5.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005647/0.316, allocations: 27.94 kB / 1.319 GB, free: 5.652 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004846/0.3208, allocations: 1.949 MB / 1.321 GB, free: 3.699 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.322, allocations: 0.6183 MB / 1.322 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.653e-05/0.3221, allocations: 4 kB / 1.322 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02828/0.3503, allocations: 21.99 MB / 1.343 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.3505, allocations: 42.42 kB / 1.343 GB, free: 13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009219/0.3515, allocations: 0.5563 MB / 1.344 GB, free: 12.44 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007679/0.3522, allocations: 0.657 MB / 1.344 GB, free: 11.78 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3523, allocations: 28 kB / 1.345 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.3525, allocations: 32 kB / 1.345 GB, free: 11.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006109/0.3531, allocations: 0.7592 MB / 1.345 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007032/0.3538, allocations: 0.8309 MB / 1.346 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.3557, allocations: 2.124 MB / 1.348 GB, free: 7.992 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3557, allocations: 0 / 1.348 GB, free: 7.992 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3557, allocations: 0 / 1.348 GB, free: 7.992 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.965e-05/0.3557, allocations: 4 kB / 1.348 GB, free: 7.988 MB / 1.045 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.003389/0.3591, allocations: 2.262 MB / 1.35 GB, free: 5.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3592, allocations: 12.56 kB / 1.35 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.3594, allocations: 293.8 kB / 1.351 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/0.363, allocations: 2.51 MB / 1.353 GB, free: 2.789 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.3631, allocations: 154.5 kB / 1.353 GB, free: 2.637 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.3631, allocations: 150.6 kB / 1.353 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.107e-05/0.3632, allocations: 101 kB / 1.354 GB, free: 2.383 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.3632, allocations: 75.28 kB / 1.354 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.3633, allocations: 158.6 kB / 1.354 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.3633, allocations: 154.5 kB / 1.354 GB, free: 2 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.924e-05/0.3634, allocations: 150.6 kB / 1.354 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3646, allocations: 1.143 MB / 1.355 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.453e-05/0.3646, allocations: 177.2 kB / 1.355 GB, free: 488 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.3647, allocations: 80.14 kB / 1.355 GB, free: 404 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3647, allocations: 75.28 kB / 1.355 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.3648, allocations: 109.8 kB / 1.356 GB, free: 208 kB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.3648, allocations: 0 / 1.356 GB, free: 208 kB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0002878/0.365, allocations: 252.2 kB / 1.356 GB, free: 15.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.3651, allocations: 130.7 kB / 1.356 GB, free: 15.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/0.3686, allocations: 2.852 MB / 1.359 GB, free: 12.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3686, allocations: 25.7 kB / 1.359 GB, free: 12.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008711/0.3695, allocations: 0.9028 MB / 1.36 GB, free: 12.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-06/0.3695, allocations: 3.938 kB / 1.36 GB, free: 12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.3695, allocations: 13.72 kB / 1.36 GB, free: 11.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3696, allocations: 306 kB / 1.36 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.3696, allocations: 4 kB / 1.36 GB, free: 11.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.3696, allocations: 4 kB / 1.36 GB, free: 11.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.3697, allocations: 75.28 kB / 1.36 GB, free: 11.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-05/0.3697, allocations: 75.28 kB / 1.36 GB, free: 11.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002502/0.3699, allocations: 244.2 kB / 1.36 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.37, allocations: 83.28 kB / 1.36 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/0.37, allocations: 75.28 kB / 1.36 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.692e-05/0.3701, allocations: 166.4 kB / 1.361 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.924e-05/0.3701, allocations: 79.22 kB / 1.361 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-05/0.3702, allocations: 154.6 kB / 1.361 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.3707, allocations: 95.19 kB / 1.361 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.3707, allocations: 79.28 kB / 1.361 GB, free: 10.55 MB / 1.061 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.0008605/0.3716, allocations: 0.9489 MB / 1.362 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.3718, allocations: 315.5 kB / 1.362 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.3721, allocations: 345.2 kB / 1.363 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-05/0.3722, allocations: 180.2 kB / 1.363 GB, free: 8.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.916e-05/0.3723, allocations: 180.2 kB / 1.363 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.949e-05/0.3723, allocations: 184.3 kB / 1.363 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3734, allocations: 1.08 MB / 1.364 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/0.3734, allocations: 112.9 kB / 1.364 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.3735, allocations: 105 kB / 1.364 GB, free: 7.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-05/0.3735, allocations: 188.2 kB / 1.365 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/0.3736, allocations: 176.3 kB / 1.365 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.656e-05/0.3737, allocations: 188.2 kB / 1.365 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-05/0.3737, allocations: 188.2 kB / 1.365 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.3741, allocations: 0.5106 MB / 1.366 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/0.3745, allocations: 376.6 kB / 1.366 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.3747, allocations: 180.7 kB / 1.366 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.3752, allocations: 124.8 kB / 1.366 GB, free: 5.016 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.3753, allocations: 180.3 kB / 1.366 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.3753, allocations: 105 kB / 1.366 GB, free: 4.723 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002652/0.378, allocations: 2.098 MB / 1.369 GB, free: 2.617 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.378, allocations: 0 / 1.369 GB, free: 2.617 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004683/0.3785, allocations: 176 kB / 1.369 GB, free: 2.445 MB / 1.061 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.0001402/0.3786, allocations: 170.5 kB / 1.369 GB, free: 2.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.477e-05/0.3786, allocations: 8.016 kB / 1.369 GB, free: 2.262 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3786, allocations: 0 / 1.369 GB, free: 2.262 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.3786, allocations: 0 / 1.369 GB, free: 2.262 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/0.3849, allocations: 2.36 MB / 1.371 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/0.3908, allocations: 3.529 MB / 1.375 GB, free: 12.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.3925, allocations: 1.723 MB / 1.376 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001725/0.3942, allocations: 427.5 kB / 1.377 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3944, allocations: 115.4 kB / 1.377 GB, free: 10.09 MB / 1.076 GB Notification: Performance of SimCode: time 1.052e-06/0.3944, allocations: 3.938 kB / 1.377 GB, free: 10.09 MB / 1.076 GB Notification: Performance of Templates: time 0.07611/0.4705, allocations: 49.82 MB / 1.425 GB, free: 9.23 MB / 1.123 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.058641476090997]