Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.001441, allocations: 109.7 kB / 16.41 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 183 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.746/0.7475, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1737/0.9212, allocations: 162.6 MB / 1.367 GB, free: 10.39 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.9334, allocations: 8.864 MB / 1.376 GB, free: 1.5 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008849/0.9343, allocations: 19.88 kB / 1.376 GB, free: 1.48 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.9357, allocations: 341.8 kB / 1.376 GB, free: 1.145 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003282/0.939, allocations: 1.1 MB / 1.377 GB, free: 44 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005713/0.9447, allocations: 2.125 MB / 1.379 GB, free: 13.92 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.9467, allocations: 1.38 MB / 1.381 GB, free: 12.54 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008369/0.9475, allocations: 427.3 kB / 1.381 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/0.9525, allocations: 2.089 MB / 1.383 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.9554, allocations: 1.303 MB / 1.384 GB, free: 8.715 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.9556, allocations: 55.94 kB / 1.385 GB, free: 8.66 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006013/0.9616, allocations: 2.899 MB / 1.387 GB, free: 5.758 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.9619, allocations: 151.5 kB / 1.387 GB, free: 5.609 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006269/0.9625, allocations: 350.4 kB / 1.388 GB, free: 5.266 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.9665, allocations: 2.198 MB / 1.39 GB, free: 3.062 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9665, allocations: 3.984 kB / 1.39 GB, free: 3.059 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9665, allocations: 0 / 1.39 GB, free: 3.059 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.063e-05/0.9665, allocations: 0 / 1.39 GB, free: 3.059 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002272/0.9688, allocations: 1.002 MB / 1.391 GB, free: 2.008 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.9689, allocations: 8.031 kB / 1.391 GB, free: 2 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.9701, allocations: 151.1 kB / 1.391 GB, free: 1.852 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000788/0.9709, allocations: 437.6 kB / 1.392 GB, free: 1.383 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.9709, allocations: 37.31 kB / 1.392 GB, free: 1.344 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/0.971, allocations: 52 kB / 1.392 GB, free: 1.293 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.9723, allocations: 0.6602 MB / 1.392 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.9724, allocations: 11.94 kB / 1.392 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.9724, allocations: 27.94 kB / 1.392 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.9725, allocations: 19.94 kB / 1.392 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.9736, allocations: 487.6 kB / 1.393 GB, free: 52 kB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.9771, allocations: 2.982 MB / 1.396 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.9777, allocations: 272 kB / 1.396 GB, free: 12.56 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.9781, allocations: 164.8 kB / 1.396 GB, free: 12.4 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01852/0.9966, allocations: 5.82 MB / 1.402 GB, free: 6.352 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.9967, allocations: 46.56 kB / 1.402 GB, free: 6.297 MB / 1.123 GB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.9967, allocations: 0 / 1.402 GB, free: 6.297 MB / 1.123 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.09468/1.091, allocations: 31.85 MB / 1.433 GB, free: 6.391 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/1.092, allocations: 133 kB / 1.433 GB, free: 6.23 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/1.092, allocations: 373.5 kB / 1.433 GB, free: 5.855 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/1.092, allocations: 37.7 kB / 1.433 GB, free: 5.812 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/1.092, allocations: 288.2 kB / 1.434 GB, free: 5.527 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/1.093, allocations: 185.3 kB / 1.434 GB, free: 5.344 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/1.093, allocations: 114.2 kB / 1.434 GB, free: 5.227 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.093, allocations: 354.8 kB / 1.434 GB, free: 4.871 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/1.093, allocations: 237 kB / 1.435 GB, free: 4.641 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/1.094, allocations: 376.4 kB / 1.435 GB, free: 4.219 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.095, allocations: 0.5864 MB / 1.436 GB, free: 3.59 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.095, allocations: 4 kB / 1.436 GB, free: 3.586 MB / 1.154 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002051/1.097, allocations: 0.7976 MB / 1.436 GB, free: 2.773 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.097, allocations: 11.94 kB / 1.436 GB, free: 2.762 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.097, allocations: 4 kB / 1.436 GB, free: 2.758 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/1.098, allocations: 117.6 kB / 1.436 GB, free: 2.637 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/1.099, allocations: 124 kB / 1.437 GB, free: 2.516 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/1.102, allocations: 3.43 MB / 1.44 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/1.103, allocations: 35.91 kB / 1.44 GB, free: 14.78 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/1.103, allocations: 32.08 kB / 1.44 GB, free: 14.75 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003502/1.103, allocations: 196.3 kB / 1.44 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/1.103, allocations: 47.44 kB / 1.44 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/1.105, allocations: 0.7846 MB / 1.441 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.105, allocations: 4 kB / 1.441 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.105, allocations: 0 / 1.441 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/1.105, allocations: 3.984 kB / 1.441 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/1.108, allocations: 1.619 MB / 1.443 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.108, allocations: 8 kB / 1.443 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/1.109, allocations: 107.8 kB / 1.443 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/1.109, allocations: 77.2 kB / 1.443 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/1.109, allocations: 16 kB / 1.443 GB, free: 11.76 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/1.111, allocations: 1.775 MB / 1.444 GB, free: 9.848 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.111, allocations: 7.938 kB / 1.444 GB, free: 9.84 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/1.113, allocations: 1.012 MB / 1.445 GB, free: 8.773 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/1.114, allocations: 132.5 kB / 1.446 GB, free: 8.625 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.114, allocations: 27.83 kB / 1.446 GB, free: 8.598 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/1.114, allocations: 23.98 kB / 1.446 GB, free: 8.574 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.114, allocations: 39.89 kB / 1.446 GB, free: 8.535 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/1.114, allocations: 27.92 kB / 1.446 GB, free: 8.508 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005617/1.115, allocations: 362.8 kB / 1.446 GB, free: 8.152 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.115, allocations: 0 / 1.446 GB, free: 8.152 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.006105/1.121, allocations: 1.387 MB / 1.447 GB, free: 6.766 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009074/1.13, allocations: 0.758 MB / 1.448 GB, free: 6.012 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002071/1.132, allocations: 0.8157 MB / 1.449 GB, free: 5.168 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.132, allocations: 4 kB / 1.449 GB, free: 5.164 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/1.133, allocations: 387 kB / 1.449 GB, free: 4.773 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/1.135, allocations: 337.8 kB / 1.45 GB, free: 4.449 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/1.137, allocations: 1.213 MB / 1.451 GB, free: 3.16 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/1.137, allocations: 0.8789 MB / 1.452 GB, free: 2.254 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/1.138, allocations: 67.41 kB / 1.452 GB, free: 2.188 MB / 1.17 GB Notification: Performance of SimCode: time 7.91e-07/1.138, allocations: 0 / 1.452 GB, free: 2.188 MB / 1.17 GB Notification: Performance of Templates: time 0.06091/1.199, allocations: 42.11 MB / 1.493 GB, free: 8.668 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches