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.00861/0.00861, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.002071/0.002071, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7453 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.36 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3287, allocations: 159.9 MB / 1.226 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.8417/1.17, allocations: 163.2 MB / 1.385 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01189/1.182, allocations: 8.13 MB / 1.393 GB, free: 9.539 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007841/1.183, allocations: 15.88 kB / 1.393 GB, free: 9.535 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/1.185, allocations: 342.9 kB / 1.393 GB, free: 9.254 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/1.187, allocations: 0.7112 MB / 1.394 GB, free: 8.691 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00624/1.193, allocations: 2.145 MB / 1.396 GB, free: 7.141 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002017/1.195, allocations: 1.369 MB / 1.397 GB, free: 6.352 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008807/1.196, allocations: 437.8 kB / 1.398 GB, free: 6.074 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/1.2, allocations: 1.423 MB / 1.399 GB, free: 5.145 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009927/1.201, allocations: 439.4 kB / 1.4 GB, free: 4.891 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/1.201, allocations: 52 kB / 1.4 GB, free: 4.891 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009221/1.21, allocations: 3.63 MB / 1.403 GB, free: 3.02 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/1.211, allocations: 154.3 kB / 1.403 GB, free: 2.898 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008089/1.212, allocations: 342.4 kB / 1.404 GB, free: 2.695 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005503/1.217, allocations: 2.571 MB / 1.406 GB, free: 1.008 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.217, allocations: 4 kB / 1.406 GB, free: 1.004 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.232e-06/1.217, allocations: 1.375 kB / 1.406 GB, free: 1.004 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.231e-05/1.217, allocations: 0 / 1.406 GB, free: 1.004 MB / 1.092 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.002805/1.22, allocations: 1.042 MB / 1.407 GB, free: 200 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.22, allocations: 9.188 kB / 1.407 GB, free: 200 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.221, allocations: 143.1 kB / 1.407 GB, free: 128 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/1.222, allocations: 430.8 kB / 1.408 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/1.222, allocations: 37.75 kB / 1.408 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.549e-05/1.222, allocations: 54.41 kB / 1.408 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.223, allocations: 0.6553 MB / 1.409 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/1.223, allocations: 3.938 kB / 1.409 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/1.223, allocations: 22.84 kB / 1.409 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/1.223, allocations: 12.75 kB / 1.409 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009969/1.224, allocations: 473 kB / 1.409 GB, free: 15.01 MB / 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.01576/1.24, allocations: 6.492 MB / 1.415 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/1.241, allocations: 167.1 kB / 1.416 GB, free: 10.6 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/1.241, allocations: 123.6 kB / 1.416 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/1.253, allocations: 3.849 MB / 1.419 GB, free: 7.406 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/1.253, allocations: 42.72 kB / 1.419 GB, free: 7.355 MB / 1.107 GB Notification: Performance of pre-optimization done (n=27): time 2.425e-06/1.253, allocations: 0 / 1.419 GB, free: 7.355 MB / 1.107 GB Notification: Performance of matching and sorting (n=40): time 0.08445/1.337, allocations: 30.61 MB / 1.449 GB, free: 8.711 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/1.337, allocations: 140.4 kB / 1.449 GB, free: 8.543 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/1.338, allocations: 465.8 kB / 1.45 GB, free: 8.082 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/1.338, allocations: 33.7 kB / 1.45 GB, free: 8.043 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/1.338, allocations: 316.2 kB / 1.45 GB, free: 7.727 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/1.338, allocations: 150.7 kB / 1.45 GB, free: 7.578 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/1.339, allocations: 102.2 kB / 1.45 GB, free: 7.469 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.339, allocations: 358.8 kB / 1.451 GB, free: 7.109 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/1.339, allocations: 182.8 kB / 1.451 GB, free: 6.934 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/1.34, allocations: 357.2 kB / 1.451 GB, free: 6.516 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/1.341, allocations: 0.5189 MB / 1.452 GB, free: 5.938 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.341, allocations: 0 / 1.452 GB, free: 5.938 MB / 1.139 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001766/1.342, allocations: 0.7014 MB / 1.453 GB, free: 5.223 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.342, allocations: 9.719 kB / 1.453 GB, free: 5.215 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.343, allocations: 4 kB / 1.453 GB, free: 5.211 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/1.343, allocations: 117.6 kB / 1.453 GB, free: 5.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/1.343, allocations: 120.2 kB / 1.453 GB, free: 4.973 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/1.347, allocations: 3.405 MB / 1.456 GB, free: 1.293 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/1.347, allocations: 27.98 kB / 1.456 GB, free: 1.266 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.347, allocations: 32.08 kB / 1.456 GB, free: 1.234 MB / 1.139 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.0003049/1.348, allocations: 190.2 kB / 1.456 GB, free: 1.039 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/1.348, allocations: 59.61 kB / 1.456 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/1.349, allocations: 0.649 MB / 1.457 GB, free: 304 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.349, allocations: 7.938 kB / 1.457 GB, free: 296 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/1.349, allocations: 0 / 1.457 GB, free: 296 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.349, allocations: 3.984 kB / 1.457 GB, free: 292 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/1.351, allocations: 1.206 MB / 1.458 GB, free: 14.97 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.351, allocations: 6.438 kB / 1.458 GB, free: 14.97 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/1.352, allocations: 59.91 kB / 1.458 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002737/1.352, allocations: 68.8 kB / 1.458 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/1.352, allocations: 16.25 kB / 1.458 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/1.354, allocations: 1.744 MB / 1.46 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.354, allocations: 4 kB / 1.46 GB, free: 12.94 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/1.355, allocations: 0.7246 MB / 1.461 GB, free: 12.15 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/1.356, allocations: 128.8 kB / 1.461 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/1.356, allocations: 12.06 kB / 1.461 GB, free: 11.99 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/1.356, allocations: 24.86 kB / 1.461 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/1.356, allocations: 35.83 kB / 1.461 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/1.356, allocations: 16 kB / 1.461 GB, free: 11.92 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004438/1.357, allocations: 358.8 kB / 1.461 GB, free: 11.57 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.1e-07/1.357, allocations: 4 kB / 1.461 GB, free: 11.56 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002184/1.359, allocations: 0.5656 MB / 1.462 GB, free: 11 MB / 1.154 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.002234/1.361, allocations: 0.5601 MB / 1.462 GB, free: 10.43 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001528/1.363, allocations: 0.6719 MB / 1.463 GB, free: 9.738 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.363, allocations: 3.938 kB / 1.463 GB, free: 9.734 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005435/1.363, allocations: 279.4 kB / 1.463 GB, free: 9.449 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/1.365, allocations: 310.1 kB / 1.464 GB, free: 9.152 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/1.367, allocations: 1.14 MB / 1.465 GB, free: 7.934 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/1.367, allocations: 0.8705 MB / 1.466 GB, free: 7.035 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000431/1.368, allocations: 114.3 kB / 1.466 GB, free: 6.934 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/1.368, allocations: 55.42 kB / 1.466 GB, free: 6.879 MB / 1.154 GB Notification: Performance of SimCode: time 5.91e-07/1.368, allocations: 0 / 1.466 GB, free: 6.879 MB / 1.154 GB Notification: Performance of Templates: time 0.03389/1.402, allocations: 23.04 MB / 1.488 GB, free: 56 kB / 1.17 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