Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.001734/0.001734, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002302/0.002302, allocations: 216.4 kB / 23.01 MB, free: 4.566 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 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.233/3.233, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 68.33 kB / 1.178 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4032, allocations: 180.2 MB / 1.354 GB, free: 8.102 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01982/0.423, allocations: 15.7 MB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007347/0.4304, allocations: 4.678 MB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.431, allocations: 27.69 kB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007409/0.4317, allocations: 198.6 kB / 1.374 GB, free: 3.426 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.4334, allocations: 0.5908 MB / 1.375 GB, free: 2.832 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.4351, allocations: 0.59 MB / 1.375 GB, free: 2.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.4367, allocations: 0.9586 MB / 1.376 GB, free: 1.285 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.4372, allocations: 264.3 kB / 1.377 GB, free: 1.016 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.4382, allocations: 482.1 kB / 1.377 GB, free: 0.543 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005037/0.4387, allocations: 302.6 kB / 1.377 GB, free: 252 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.4388, allocations: 28 kB / 1.377 GB, free: 224 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006807/0.4394, allocations: 227.7 kB / 1.378 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.4396, allocations: 87.48 kB / 1.378 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.4398, allocations: 202.9 kB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008765/0.4407, allocations: 0.5018 MB / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4407, allocations: 0 / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4407, allocations: 0 / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.4407, allocations: 0 / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001332/0.442, allocations: 0.6601 MB / 1.379 GB, free: 14.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4421, allocations: 8.031 kB / 1.379 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.4422, allocations: 48.66 kB / 1.379 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/0.443, allocations: 351.2 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.443, allocations: 24.56 kB / 1.379 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.443, allocations: 24 kB / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.4434, allocations: 195.2 kB / 1.38 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4435, allocations: 0 / 1.38 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.4435, allocations: 4 kB / 1.38 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.4435, allocations: 8 kB / 1.38 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.4437, allocations: 137.6 kB / 1.38 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.4454, allocations: 0.8407 MB / 1.381 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.4459, allocations: 102.6 kB / 1.381 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/0.4459, allocations: 48.83 kB / 1.381 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.4461, allocations: 35.95 kB / 1.381 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.4461, allocations: 34.56 kB / 1.381 GB, free: 12.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.4461, allocations: 0 / 1.381 GB, free: 12.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0003979/0.4465, allocations: 177.2 kB / 1.381 GB, free: 12.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.4466, allocations: 55.41 kB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/0.4472, allocations: 453.8 kB / 1.381 GB, free: 11.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.4472, allocations: 29.7 kB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.4474, allocations: 208.5 kB / 1.382 GB, free: 11.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.4474, allocations: 47.58 kB / 1.382 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.4475, allocations: 57.62 kB / 1.382 GB, free: 11.51 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4477, allocations: 350.8 kB / 1.382 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4478, allocations: 47.97 kB / 1.382 GB, free: 11.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.448, allocations: 110.2 kB / 1.382 GB, free: 10.98 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.4482, allocations: 135.2 kB / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.4482, allocations: 0 / 1.382 GB, free: 10.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003792/0.4486, allocations: 221.2 kB / 1.383 GB, free: 10.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4486, allocations: 4 kB / 1.383 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4487, allocations: 4 kB / 1.383 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4487, allocations: 0 / 1.383 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.4489, allocations: 52.09 kB / 1.383 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4489, allocations: 0 / 1.383 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.4492, allocations: 39.77 kB / 1.383 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.4492, allocations: 11.98 kB / 1.383 GB, free: 10.51 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001836/0.4494, allocations: 153.8 kB / 1.383 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.4495, allocations: 35.77 kB / 1.383 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.4499, allocations: 205.4 kB / 1.383 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.4499, allocations: 0 / 1.383 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4499, allocations: 8 kB / 1.383 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4499, allocations: 0 / 1.383 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/0.4508, allocations: 0.5942 MB / 1.384 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.4508, allocations: 4.062 kB / 1.384 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.4509, allocations: 31.92 kB / 1.384 GB, free: 9.406 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4509, allocations: 4 kB / 1.384 GB, free: 9.402 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4509, allocations: 4.125 kB / 1.384 GB, free: 9.398 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.4509, allocations: 4 kB / 1.384 GB, free: 9.395 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4509, allocations: 3.938 kB / 1.384 GB, free: 9.391 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.4513, allocations: 291 kB / 1.384 GB, free: 9.078 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4514, allocations: 67.61 kB / 1.384 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.4514, allocations: 4 kB / 1.384 GB, free: 9.008 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4517, allocations: 11.98 kB / 1.384 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.4517, allocations: 11.92 kB / 1.384 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.4517, allocations: 8 kB / 1.384 GB, free: 8.977 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004186/0.4521, allocations: 319.1 kB / 1.384 GB, free: 8.664 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4521, allocations: 0 / 1.384 GB, free: 8.664 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004174/0.4526, allocations: 103.9 kB / 1.384 GB, free: 8.562 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003524/0.4529, allocations: 203.7 kB / 1.385 GB, free: 8.355 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.4532, allocations: 133.7 kB / 1.385 GB, free: 8.227 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4532, allocations: 0 / 1.385 GB, free: 8.227 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.4533, allocations: 51.92 kB / 1.385 GB, free: 8.176 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009209/0.4542, allocations: 182.3 kB / 1.385 GB, free: 8.004 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.4556, allocations: 0.6986 MB / 1.386 GB, free: 7.258 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.4561, allocations: 0.8076 MB / 1.386 GB, free: 6.422 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.4562, allocations: 27.44 kB / 1.387 GB, free: 6.395 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.4562, allocations: 0 / 1.387 GB, free: 6.395 MB / 1.076 GB Notification: Performance of Templates: time 0.01037/0.4665, allocations: 6.284 MB / 1.393 GB, free: 188 kB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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: 12.836357337015215]