Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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 12.0.0-master/package.mo", uses=false) 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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0025/0.0025, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.48 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3113, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1737/0.4851, allocations: 163.2 MB / 1.228 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.496, allocations: 8.12 MB / 1.236 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.4967, allocations: 15.94 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.4979, allocations: 345.8 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.4999, allocations: 0.7183 MB / 1.237 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005595/0.5055, allocations: 2.137 MB / 1.239 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.5076, allocations: 1.372 MB / 1.24 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008861/0.5085, allocations: 425.5 kB / 1.24 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/0.5123, allocations: 1.42 MB / 1.242 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.5133, allocations: 442.2 kB / 1.242 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.5135, allocations: 52 kB / 1.242 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007293/0.5208, allocations: 3.527 MB / 1.246 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.5211, allocations: 159.5 kB / 1.246 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.5217, allocations: 350.5 kB / 1.246 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004404/0.5261, allocations: 2.553 MB / 1.249 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5261, allocations: 0 / 1.249 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5261, allocations: 0 / 1.249 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.365e-05/0.5262, allocations: 0 / 1.249 GB, free: 0.9219 MB / 0.9981 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.569/1.095, allocations: 1.021 MB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.095, allocations: 10.33 kB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/1.097, allocations: 140.6 kB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/1.097, allocations: 410.3 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/1.097, allocations: 41.12 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/1.097, allocations: 54.89 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/1.099, allocations: 0.6583 MB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/1.099, allocations: 2.031 kB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/1.099, allocations: 26.94 kB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/1.099, allocations: 14.33 kB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/1.1, allocations: 472 kB / 1.251 GB, free: 185.1 MB / 0.9981 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.01567/1.115, allocations: 6.478 MB / 1.258 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/1.116, allocations: 164.3 kB / 1.258 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/1.116, allocations: 120.2 kB / 1.258 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/1.128, allocations: 3.809 MB / 1.262 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/1.128, allocations: 43.19 kB / 1.262 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/1.128, allocations: 1.203 kB / 1.262 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.08283/1.211, allocations: 30.34 MB / 1.291 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/1.211, allocations: 132.5 kB / 1.292 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/1.211, allocations: 465.1 kB / 1.292 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/1.211, allocations: 37.64 kB / 1.292 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.211, allocations: 302.2 kB / 1.292 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/1.211, allocations: 143.1 kB / 1.292 GB, free: 170 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/1.211, allocations: 106.2 kB / 1.293 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/1.212, allocations: 361.3 kB / 1.293 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/1.212, allocations: 174.3 kB / 1.293 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/1.212, allocations: 353.9 kB / 1.293 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007316/1.213, allocations: 0.5182 MB / 1.294 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.213, allocations: 8 kB / 1.294 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001482/1.215, allocations: 0.6949 MB / 1.295 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.215, allocations: 8 kB / 1.295 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.215, allocations: 4 kB / 1.295 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004288/1.215, allocations: 122 kB / 1.295 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/1.215, allocations: 111.8 kB / 1.295 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/1.218, allocations: 3.42 MB / 1.298 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/1.218, allocations: 30.36 kB / 1.298 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/1.218, allocations: 24.94 kB / 1.298 GB, free: 163.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * 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.0002007/1.218, allocations: 194.6 kB / 1.298 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/1.219, allocations: 59.38 kB / 1.298 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/1.22, allocations: 0.6524 MB / 1.299 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.22, allocations: 4 kB / 1.299 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.22, allocations: 0 / 1.299 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.22, allocations: 3.094 kB / 1.299 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/1.222, allocations: 1.203 MB / 1.3 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/1.222, allocations: 11.92 kB / 1.3 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/1.222, allocations: 63.91 kB / 1.3 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002313/1.222, allocations: 68.8 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/1.222, allocations: 8 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/1.224, allocations: 1.738 MB / 1.302 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.224, allocations: 11.94 kB / 1.302 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/1.225, allocations: 0.7205 MB / 1.303 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/1.225, allocations: 124.5 kB / 1.303 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/1.225, allocations: 12.06 kB / 1.303 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/1.225, allocations: 19.98 kB / 1.303 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/1.225, allocations: 39.84 kB / 1.303 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/1.225, allocations: 15.98 kB / 1.303 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003308/1.226, allocations: 362.8 kB / 1.303 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.226, allocations: 0 / 1.303 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001449/1.227, allocations: 0.5641 MB / 1.304 GB, free: 157.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (29): * Single equations (assignments): 28 * 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.001681/1.229, allocations: 0.5579 MB / 1.304 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001296/1.23, allocations: 0.6703 MB / 1.305 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.23, allocations: 3.609 kB / 1.305 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004687/1.231, allocations: 291.4 kB / 1.305 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/1.232, allocations: 313.8 kB / 1.306 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/1.234, allocations: 1.137 MB / 1.307 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/1.234, allocations: 0.8628 MB / 1.308 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004392/1.234, allocations: 119.6 kB / 1.308 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/1.234, allocations: 47.42 kB / 1.308 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.234, allocations: 0 / 1.308 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02635/1.261, allocations: 22.96 MB / 1.33 GB, free: 131 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches