Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001778/0.001778, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002454/0.002454, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.326/3.326, allocations: 0.4899 GB / 0.7951 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002091/0.002091, allocations: 61.81 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4134, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02009/0.4335, allocations: 15.72 MB / 1.342 GB, free: 1.707 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007454/0.441, allocations: 4.676 MB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006021/0.4416, allocations: 19.81 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.4423, allocations: 198.6 kB / 1.346 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.4439, allocations: 0.6024 MB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.4457, allocations: 0.5758 MB / 1.348 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.4471, allocations: 0.9703 MB / 1.349 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/0.4475, allocations: 252.5 kB / 1.349 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009189/0.4485, allocations: 482 kB / 1.349 GB, free: 9.926 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.4489, allocations: 298.6 kB / 1.35 GB, free: 9.633 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.449, allocations: 24 kB / 1.35 GB, free: 9.609 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005805/0.4496, allocations: 235.6 kB / 1.35 GB, free: 9.379 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4497, allocations: 87.55 kB / 1.35 GB, free: 9.293 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.4499, allocations: 198.8 kB / 1.35 GB, free: 9.098 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007972/0.4507, allocations: 0.5096 MB / 1.351 GB, free: 8.586 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4507, allocations: 0 / 1.351 GB, free: 8.586 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4507, allocations: 0 / 1.351 GB, free: 8.586 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.4507, allocations: 0 / 1.351 GB, free: 8.586 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00121/0.4519, allocations: 0.6562 MB / 1.351 GB, free: 7.898 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.452, allocations: 12.03 kB / 1.351 GB, free: 7.887 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.4521, allocations: 52.59 kB / 1.351 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/0.4529, allocations: 339.2 kB / 1.352 GB, free: 7.477 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.4529, allocations: 24.56 kB / 1.352 GB, free: 7.453 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.4529, allocations: 24 kB / 1.352 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.4533, allocations: 195.3 kB / 1.352 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4534, allocations: 3.984 kB / 1.352 GB, free: 7.227 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.4534, allocations: 8 kB / 1.352 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4534, allocations: 4 kB / 1.352 GB, free: 7.215 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.4536, allocations: 129.7 kB / 1.352 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.4552, allocations: 0.8445 MB / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.4557, allocations: 114.6 kB / 1.353 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.4558, allocations: 48.81 kB / 1.353 GB, free: 6.004 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.4559, allocations: 27.98 kB / 1.353 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.4559, allocations: 34.56 kB / 1.353 GB, free: 5.934 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.4559, allocations: 0 / 1.353 GB, free: 5.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003932/0.4563, allocations: 181.2 kB / 1.353 GB, free: 5.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.4564, allocations: 55.39 kB / 1.353 GB, free: 5.684 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.457, allocations: 453.9 kB / 1.354 GB, free: 5.238 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.457, allocations: 29.7 kB / 1.354 GB, free: 5.203 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4572, allocations: 208.4 kB / 1.354 GB, free: 4.996 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.4572, allocations: 51.61 kB / 1.354 GB, free: 4.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.4573, allocations: 53.66 kB / 1.354 GB, free: 4.887 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002549/0.4576, allocations: 346.8 kB / 1.354 GB, free: 4.539 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.914e-05/0.4577, allocations: 47.97 kB / 1.354 GB, free: 4.492 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.4579, allocations: 109.1 kB / 1.354 GB, free: 4.367 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.4581, allocations: 139.2 kB / 1.355 GB, free: 4.219 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4581, allocations: 0 / 1.355 GB, free: 4.219 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003813/0.4585, allocations: 217.2 kB / 1.355 GB, free: 4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4585, allocations: 8 kB / 1.355 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4585, allocations: 0 / 1.355 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4585, allocations: 4 kB / 1.355 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.4587, allocations: 48.05 kB / 1.355 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.4587, allocations: 4 kB / 1.355 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.459, allocations: 39.77 kB / 1.355 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.4591, allocations: 8 kB / 1.355 GB, free: 3.891 MB / 1.045 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.0001774/0.4593, allocations: 157.7 kB / 1.355 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.4593, allocations: 43.7 kB / 1.355 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.4597, allocations: 200.5 kB / 1.355 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.4597, allocations: 4 kB / 1.355 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4597, allocations: 3.984 kB / 1.355 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4597, allocations: 0 / 1.355 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008685/0.4606, allocations: 0.5865 MB / 1.356 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4606, allocations: 8.125 kB / 1.356 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.4607, allocations: 27.98 kB / 1.356 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4607, allocations: 3.938 kB / 1.356 GB, free: 2.785 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4608, allocations: 4.281 kB / 1.356 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4608, allocations: 0 / 1.356 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4608, allocations: 7.938 kB / 1.356 GB, free: 2.773 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.4612, allocations: 309.1 kB / 1.356 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4613, allocations: 51.67 kB / 1.356 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.4613, allocations: 4 kB / 1.356 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.4615, allocations: 15.98 kB / 1.356 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.4616, allocations: 11.92 kB / 1.356 GB, free: 2.363 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.4616, allocations: 11.98 kB / 1.356 GB, free: 2.352 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004334/0.462, allocations: 315.1 kB / 1.357 GB, free: 2.047 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.462, allocations: 0 / 1.357 GB, free: 2.047 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004651/0.4625, allocations: 107.8 kB / 1.357 GB, free: 1.941 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.0003711/0.4629, allocations: 202.4 kB / 1.357 GB, free: 1.738 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.4632, allocations: 131.8 kB / 1.357 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4632, allocations: 4 kB / 1.357 GB, free: 1.605 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.4633, allocations: 59.84 kB / 1.357 GB, free: 1.547 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009663/0.4642, allocations: 180.7 kB / 1.357 GB, free: 1.371 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.4658, allocations: 0.6657 MB / 1.358 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.4664, allocations: 0.8035 MB / 1.359 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.4666, allocations: 64.61 kB / 1.359 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.4667, allocations: 31.42 kB / 1.359 GB, free: 15.74 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4667, allocations: 0 / 1.359 GB, free: 15.74 MB / 1.061 GB Notification: Performance of Templates: time 0.0161/0.4828, allocations: 7.21 MB / 1.366 GB, free: 8.66 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.760687422007322]