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.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.001601/0.001601, allocations: 114.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.001587/0.001587, allocations: 190.8 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.559/1.559, 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 3.225/3.225, allocations: 497.2 MB / 0.7845 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 74.48 kB / 1.139 GB, free: 33.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4027, allocations: 173.9 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02262/0.4253, allocations: 15.6 MB / 1.325 GB, free: 316 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.4355, allocations: 4.661 MB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.4367, allocations: 19.88 kB / 1.329 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.4377, allocations: 202.6 kB / 1.329 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.4403, allocations: 0.5822 MB / 1.33 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.4428, allocations: 0.5789 MB / 1.33 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002154/0.445, allocations: 0.9509 MB / 1.331 GB, free: 9.309 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000685/0.4457, allocations: 259.8 kB / 1.332 GB, free: 9.047 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.4471, allocations: 458.1 kB / 1.332 GB, free: 8.598 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006909/0.4478, allocations: 306.6 kB / 1.332 GB, free: 8.297 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.952e-05/0.4478, allocations: 24 kB / 1.332 GB, free: 8.273 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008118/0.4486, allocations: 219.6 kB / 1.333 GB, free: 8.059 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.4488, allocations: 87.55 kB / 1.333 GB, free: 7.973 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.4491, allocations: 202.8 kB / 1.333 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.4502, allocations: 0.5057 MB / 1.333 GB, free: 7.266 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4502, allocations: 0 / 1.333 GB, free: 7.266 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4502, allocations: 0 / 1.333 GB, free: 7.266 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.4502, allocations: 0 / 1.333 GB, free: 7.266 MB / 1.029 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.001649/0.4519, allocations: 0.7392 MB / 1.334 GB, free: 6.477 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.4519, allocations: 12.03 kB / 1.334 GB, free: 6.465 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.4521, allocations: 52.66 kB / 1.334 GB, free: 6.414 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.4531, allocations: 410.4 kB / 1.334 GB, free: 5.977 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.4532, allocations: 20.5 kB / 1.335 GB, free: 5.957 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.4532, allocations: 28 kB / 1.335 GB, free: 5.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.4538, allocations: 187.3 kB / 1.335 GB, free: 5.738 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4538, allocations: 4 kB / 1.335 GB, free: 5.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.4538, allocations: 15.94 kB / 1.335 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.4538, allocations: 4 kB / 1.335 GB, free: 5.715 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.4542, allocations: 133.7 kB / 1.335 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.4564, allocations: 0.8754 MB / 1.336 GB, free: 4.633 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.457, allocations: 110.6 kB / 1.336 GB, free: 4.516 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.4572, allocations: 52.83 kB / 1.336 GB, free: 4.461 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004344/0.4576, allocations: 332.4 kB / 1.336 GB, free: 4.062 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.4577, allocations: 34.5 kB / 1.336 GB, free: 4.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.4577, allocations: 0 / 1.336 GB, free: 4.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005829/0.4582, allocations: 181.3 kB / 1.336 GB, free: 3.836 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.4583, allocations: 51.41 kB / 1.336 GB, free: 3.773 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008104/0.4591, allocations: 441.9 kB / 1.337 GB, free: 3.336 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.4592, allocations: 33.7 kB / 1.337 GB, free: 3.297 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.4594, allocations: 216.4 kB / 1.337 GB, free: 3.082 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.4595, allocations: 43.64 kB / 1.337 GB, free: 3.039 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.4596, allocations: 53.66 kB / 1.337 GB, free: 2.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000231/0.4598, allocations: 350.8 kB / 1.338 GB, free: 2.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.46, allocations: 47.98 kB / 1.338 GB, free: 2.582 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.4602, allocations: 109 kB / 1.338 GB, free: 2.457 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.4605, allocations: 143.2 kB / 1.338 GB, free: 2.305 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4605, allocations: 0 / 1.338 GB, free: 2.305 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005089/0.461, allocations: 213.3 kB / 1.338 GB, free: 2.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.4611, allocations: 8 kB / 1.338 GB, free: 2.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4611, allocations: 0 / 1.338 GB, free: 2.082 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.4611, allocations: 0 / 1.338 GB, free: 2.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.4614, allocations: 43.92 kB / 1.338 GB, free: 2.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.4614, allocations: 8 kB / 1.338 GB, free: 2.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.4618, allocations: 39.75 kB / 1.338 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.4619, allocations: 11.94 kB / 1.338 GB, free: 1.98 MB / 1.029 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.0002507/0.4621, allocations: 153.7 kB / 1.338 GB, free: 1.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4622, allocations: 43.72 kB / 1.338 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.4628, allocations: 193.2 kB / 1.339 GB, free: 1.582 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4628, allocations: 4 kB / 1.339 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4628, allocations: 0 / 1.339 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.4628, allocations: 0 / 1.339 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.464, allocations: 0.6263 MB / 1.339 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4641, allocations: 4 kB / 1.339 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.4642, allocations: 20.12 kB / 1.339 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.4642, allocations: 4 kB / 1.339 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.4642, allocations: 12.05 kB / 1.339 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4642, allocations: 0 / 1.339 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.4642, allocations: 7.938 kB / 1.339 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000507/0.4648, allocations: 298.7 kB / 1.339 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.465, allocations: 128.8 kB / 1.34 GB, free: 380 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.465, allocations: 4 kB / 1.34 GB, free: 376 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.4654, allocations: 11.98 kB / 1.34 GB, free: 364 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4654, allocations: 15.92 kB / 1.34 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4654, allocations: 4.281 kB / 1.34 GB, free: 344 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00062/0.4661, allocations: 327 kB / 1.34 GB, free: 20 kB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4661, allocations: 0 / 1.34 GB, free: 20 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008144/0.4669, allocations: 107.9 kB / 1.34 GB, free: 15.91 MB / 1.045 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.000664/0.4675, allocations: 206.4 kB / 1.34 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.468, allocations: 127.8 kB / 1.34 GB, free: 15.59 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.468, allocations: 4 kB / 1.34 GB, free: 15.58 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.4681, allocations: 55.91 kB / 1.34 GB, free: 15.53 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.4696, allocations: 184 kB / 1.341 GB, free: 15.35 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.4716, allocations: 0.6676 MB / 1.341 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.4723, allocations: 0.8035 MB / 1.342 GB, free: 13.81 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003357/0.4726, allocations: 72.03 kB / 1.342 GB, free: 13.74 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4727, allocations: 27.44 kB / 1.342 GB, free: 13.71 MB / 1.045 GB Notification: Performance of SimCode: time 4.1e-07/0.4727, allocations: 0 / 1.342 GB, free: 13.71 MB / 1.045 GB Notification: Performance of Templates: time 0.01817/0.4909, allocations: 7.17 MB / 1.349 GB, free: 6.672 MB / 1.045 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 -s cvode -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_2/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: 9.723174289800227]