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.001256/0.001256, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001343/0.001343, allocations: 191.6 kB / 22.17 MB, free: 5.656 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.345/1.345, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] 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.903/2.903, allocations: 497.2 MB / 0.7845 GB, free: 33.69 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.001874/0.001874, allocations: 62.3 kB / 1.139 GB, free: 33.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3371, allocations: 173.9 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005367/0.3424, allocations: 3.826 MB / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008871/0.3513, allocations: 6.428 MB / 1.319 GB, free: 5.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005798/0.3519, allocations: 31.88 kB / 1.319 GB, free: 5.648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004408/0.3563, allocations: 1.943 MB / 1.321 GB, free: 3.699 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.3574, allocations: 0.6144 MB / 1.322 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.433e-05/0.3575, allocations: 4 kB / 1.322 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02906/0.3865, allocations: 21.99 MB / 1.343 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.3869, allocations: 46.41 kB / 1.343 GB, free: 13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.3884, allocations: 0.5602 MB / 1.344 GB, free: 12.44 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009815/0.3894, allocations: 0.6492 MB / 1.344 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3895, allocations: 36 kB / 1.345 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.3897, allocations: 28 kB / 1.345 GB, free: 11.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007247/0.3904, allocations: 0.7592 MB / 1.345 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009016/0.3913, allocations: 0.8271 MB / 1.346 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.3938, allocations: 2.128 MB / 1.348 GB, free: 7.992 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3938, allocations: 0 / 1.348 GB, free: 7.992 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3938, allocations: 4 kB / 1.348 GB, free: 7.988 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.3939, allocations: 0 / 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.004129/0.398, allocations: 2.262 MB / 1.35 GB, free: 5.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.398, allocations: 8.922 kB / 1.35 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.3983, allocations: 297.7 kB / 1.351 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/0.402, allocations: 2.514 MB / 1.353 GB, free: 2.785 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.4021, allocations: 150.6 kB / 1.353 GB, free: 2.637 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.4022, allocations: 150.6 kB / 1.353 GB, free: 2.488 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.367e-05/0.4022, allocations: 101 kB / 1.354 GB, free: 2.383 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.4023, allocations: 75.28 kB / 1.354 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.4023, allocations: 154.6 kB / 1.354 GB, free: 2.156 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-05/0.4024, allocations: 166.4 kB / 1.354 GB, free: 1.992 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.029e-05/0.4025, allocations: 154.5 kB / 1.354 GB, free: 1.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.4036, allocations: 1.14 MB / 1.355 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.4037, allocations: 169.2 kB / 1.355 GB, free: 488 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.4038, allocations: 84.14 kB / 1.355 GB, free: 400 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.4038, allocations: 79.27 kB / 1.355 GB, free: 320 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.4039, allocations: 109.8 kB / 1.356 GB, free: 200 kB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.4039, allocations: 0 / 1.356 GB, free: 200 kB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0002711/0.4041, allocations: 248.2 kB / 1.356 GB, free: 15.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.4042, allocations: 126.7 kB / 1.356 GB, free: 15.81 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/0.4077, allocations: 2.856 MB / 1.359 GB, free: 12.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.4077, allocations: 29.7 kB / 1.359 GB, free: 12.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000863/0.4086, allocations: 0.8988 MB / 1.36 GB, free: 12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.4086, allocations: 0 / 1.36 GB, free: 12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.4086, allocations: 13.72 kB / 1.36 GB, free: 11.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4087, allocations: 306 kB / 1.36 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.4087, allocations: 0 / 1.36 GB, free: 11.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-06/0.4087, allocations: 4 kB / 1.36 GB, free: 11.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.4088, allocations: 83.22 kB / 1.36 GB, free: 11.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.083e-05/0.4088, 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.0002385/0.409, allocations: 240.2 kB / 1.36 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.4091, allocations: 87.27 kB / 1.36 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.4091, allocations: 75.28 kB / 1.36 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.417e-05/0.4092, allocations: 158.4 kB / 1.361 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.706e-05/0.4092, allocations: 83.28 kB / 1.361 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.054e-05/0.4093, allocations: 154.5 kB / 1.361 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.4098, allocations: 91.25 kB / 1.361 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.4098, allocations: 75.28 kB / 1.361 GB, free: 10.56 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.0008452/0.4106, allocations: 0.9568 MB / 1.362 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.4109, allocations: 315.5 kB / 1.362 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.4112, allocations: 345.2 kB / 1.363 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/0.4113, allocations: 180.2 kB / 1.363 GB, free: 8.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.386e-05/0.4113, allocations: 176.3 kB / 1.363 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.055e-05/0.4114, allocations: 180.3 kB / 1.363 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.4124, allocations: 1.092 MB / 1.364 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.126e-05/0.4125, allocations: 108.9 kB / 1.364 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.4125, allocations: 112.9 kB / 1.364 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.497e-05/0.4126, allocations: 176.3 kB / 1.365 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.4126, allocations: 180.2 kB / 1.365 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.542e-05/0.4127, allocations: 192.2 kB / 1.365 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-05/0.4128, allocations: 180.3 kB / 1.365 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.4131, allocations: 0.5106 MB / 1.366 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/0.4135, allocations: 376.6 kB / 1.366 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.4138, allocations: 184.6 kB / 1.366 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.4142, allocations: 121 kB / 1.366 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.4143, allocations: 184.2 kB / 1.366 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.4144, allocations: 101 kB / 1.366 GB, free: 4.727 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002577/0.4169, allocations: 2.095 MB / 1.369 GB, free: 2.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4169, allocations: 4 kB / 1.369 GB, free: 2.621 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004612/0.4174, allocations: 176 kB / 1.369 GB, free: 2.449 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.0001314/0.4175, allocations: 170.5 kB / 1.369 GB, free: 2.273 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.198e-05/0.4176, allocations: 11.95 kB / 1.369 GB, free: 2.262 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4176, allocations: 0 / 1.369 GB, free: 2.262 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.4176, 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.005342/0.4229, allocations: 2.355 MB / 1.371 GB, free: 15.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.4271, allocations: 3.529 MB / 1.375 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.4286, allocations: 1.727 MB / 1.376 GB, free: 10.62 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00123/0.4298, allocations: 435.5 kB / 1.377 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.43, allocations: 107.4 kB / 1.377 GB, free: 10.09 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/0.43, allocations: 0 / 1.377 GB, free: 10.09 MB / 1.076 GB Notification: Performance of Templates: time 0.07706/0.507, allocations: 49.82 MB / 1.425 GB, free: 9.227 MB / 1.123 GB " [Timeout remaining time 299] 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 cvode -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.281417129095644]