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 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.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.008856/0.008856, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001927/0.001928, allocations: 196 kB / 16.68 MB, free: 5.934 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.968/2.968, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 68.11 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2965, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.7505/1.047, allocations: 163.2 MB / 1.367 GB, free: 4.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01033/1.057, allocations: 8.128 MB / 1.375 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006371/1.058, allocations: 14.56 kB / 1.375 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/1.059, allocations: 360.7 kB / 1.375 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/1.061, allocations: 0.7409 MB / 1.376 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006016/1.067, allocations: 2.152 MB / 1.378 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002339/1.07, allocations: 1.375 MB / 1.38 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007965/1.07, allocations: 428.2 kB / 1.38 GB, free: 11.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/1.075, allocations: 1.456 MB / 1.381 GB, free: 10.24 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/1.076, allocations: 450.9 kB / 1.382 GB, free: 9.973 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/1.076, allocations: 51.72 kB / 1.382 GB, free: 9.973 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009122/1.085, allocations: 3.632 MB / 1.385 GB, free: 8.102 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004351/1.086, allocations: 150.2 kB / 1.386 GB, free: 7.984 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009522/1.087, allocations: 342.5 kB / 1.386 GB, free: 7.781 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006294/1.093, allocations: 2.565 MB / 1.388 GB, free: 6.102 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.093, allocations: 0 / 1.388 GB, free: 6.102 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.322e-06/1.093, allocations: 1.125 kB / 1.388 GB, free: 6.102 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.808e-06/1.093, allocations: 0 / 1.388 GB, free: 6.102 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002283/1.096, allocations: 1.029 MB / 1.389 GB, free: 5.309 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.096, allocations: 8.938 kB / 1.389 GB, free: 5.309 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/1.097, allocations: 139.2 kB / 1.39 GB, free: 5.242 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007181/1.097, allocations: 428 kB / 1.39 GB, free: 4.863 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/1.097, allocations: 39.31 kB / 1.39 GB, free: 4.844 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/1.098, allocations: 50.38 kB / 1.39 GB, free: 4.828 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/1.099, allocations: 0.6524 MB / 1.391 GB, free: 4.371 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/1.099, allocations: 9.812 kB / 1.391 GB, free: 4.363 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.654e-05/1.099, allocations: 23.97 kB / 1.391 GB, free: 4.348 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/1.099, allocations: 17.12 kB / 1.391 GB, free: 4.344 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000988/1.1, allocations: 464.9 kB / 1.391 GB, free: 4.129 MB / 1.076 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.01672/1.117, allocations: 6.478 MB / 1.397 GB, free: 15.82 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/1.117, allocations: 169.4 kB / 1.398 GB, free: 15.72 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/1.117, allocations: 120.4 kB / 1.398 GB, free: 15.66 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01252/1.13, allocations: 3.856 MB / 1.402 GB, free: 13.64 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/1.13, allocations: 37.77 kB / 1.402 GB, free: 13.59 MB / 1.092 GB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/1.13, allocations: 0 / 1.402 GB, free: 13.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=40): time 0.08809/1.218, allocations: 30.61 MB / 1.431 GB, free: 1.059 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/1.218, allocations: 136.5 kB / 1.432 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/1.219, allocations: 469.7 kB / 1.432 GB, free: 440 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/1.219, allocations: 33.64 kB / 1.432 GB, free: 400 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/1.219, allocations: 307.5 kB / 1.432 GB, free: 84 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/1.219, allocations: 142 kB / 1.432 GB, free: 15.94 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/1.219, allocations: 102.1 kB / 1.433 GB, free: 15.84 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.219, allocations: 362.8 kB / 1.433 GB, free: 15.47 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/1.22, allocations: 177 kB / 1.433 GB, free: 15.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/1.22, allocations: 357.2 kB / 1.433 GB, free: 14.88 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/1.221, allocations: 0.5194 MB / 1.434 GB, free: 14.3 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.221, allocations: 0 / 1.434 GB, free: 14.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001766/1.223, allocations: 0.6952 MB / 1.435 GB, free: 13.59 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.223, allocations: 4.531 kB / 1.435 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.223, allocations: 11.98 kB / 1.435 GB, free: 13.58 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004956/1.224, allocations: 124.8 kB / 1.435 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/1.224, allocations: 111.8 kB / 1.435 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/1.227, allocations: 3.419 MB / 1.438 GB, free: 9.652 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/1.228, allocations: 27.98 kB / 1.438 GB, free: 9.625 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/1.228, allocations: 23.98 kB / 1.438 GB, free: 9.602 MB / 1.123 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.0002921/1.228, allocations: 189.7 kB / 1.438 GB, free: 9.406 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/1.229, allocations: 63.38 kB / 1.438 GB, free: 9.344 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/1.23, allocations: 0.6448 MB / 1.439 GB, free: 8.668 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.23, allocations: 7.938 kB / 1.439 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.23, allocations: 0 / 1.439 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.23, allocations: 0 / 1.439 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/1.232, allocations: 1.201 MB / 1.44 GB, free: 7.352 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/1.232, allocations: 9.234 kB / 1.44 GB, free: 7.344 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/1.233, allocations: 63.91 kB / 1.44 GB, free: 7.281 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002536/1.233, allocations: 72.83 kB / 1.44 GB, free: 7.207 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/1.233, allocations: 12 kB / 1.44 GB, free: 7.195 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/1.235, allocations: 1.733 MB / 1.442 GB, free: 5.324 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.235, allocations: 8.062 kB / 1.442 GB, free: 5.316 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.236, allocations: 0.7285 MB / 1.443 GB, free: 4.52 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/1.236, allocations: 128.5 kB / 1.443 GB, free: 4.375 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/1.236, allocations: 15.94 kB / 1.443 GB, free: 4.359 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/1.237, allocations: 19.98 kB / 1.443 GB, free: 4.34 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/1.237, allocations: 35.97 kB / 1.443 GB, free: 4.305 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/1.237, allocations: 15.98 kB / 1.443 GB, free: 4.289 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004401/1.237, allocations: 362.8 kB / 1.443 GB, free: 3.934 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.237, allocations: 0 / 1.443 GB, free: 3.934 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002089/1.239, allocations: 0.5623 MB / 1.444 GB, free: 3.371 MB / 1.123 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.00213/1.242, allocations: 0.5512 MB / 1.444 GB, free: 2.816 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001477/1.243, allocations: 0.6682 MB / 1.445 GB, free: 2.125 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.243, allocations: 4 kB / 1.445 GB, free: 2.121 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005453/1.244, allocations: 290.3 kB / 1.445 GB, free: 1.824 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/1.245, allocations: 306.9 kB / 1.446 GB, free: 1.535 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/1.247, allocations: 1.136 MB / 1.447 GB, free: 336 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/1.247, allocations: 0.8628 MB / 1.448 GB, free: 15.44 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004297/1.248, allocations: 108.1 kB / 1.448 GB, free: 15.34 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/1.248, allocations: 47.42 kB / 1.448 GB, free: 15.29 MB / 1.139 GB Notification: Performance of SimCode: time 6.11e-07/1.248, allocations: 0 / 1.448 GB, free: 15.29 MB / 1.139 GB Notification: Performance of Templates: time 0.03492/1.283, allocations: 23.04 MB / 1.47 GB, free: 8.465 MB / 1.154 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