Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Experimental.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.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.Experimental.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.Experimental.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.001343/0.001343, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001223/0.001223, allocations: 193 kB / 17.29 MB, free: 5.48 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.97 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3182, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.7572/1.075, allocations: 163.2 MB / 1.186 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01102/1.086, allocations: 8.128 MB / 1.194 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007312/1.087, allocations: 22.88 kB / 1.194 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/1.088, allocations: 342.6 kB / 1.194 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/1.09, allocations: 0.7146 MB / 1.195 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005661/1.096, allocations: 2.14 MB / 1.197 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002209/1.098, allocations: 1.364 MB / 1.199 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000734/1.099, allocations: 431.9 kB / 1.199 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/1.103, allocations: 1.421 MB / 1.2 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/1.104, allocations: 438.8 kB / 1.201 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/1.104, allocations: 54.47 kB / 1.201 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008507/1.113, allocations: 3.638 MB / 1.204 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002626/1.113, allocations: 147.9 kB / 1.205 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/1.114, allocations: 341.8 kB / 1.205 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004928/1.119, allocations: 2.586 MB / 1.207 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/1.119, allocations: 2.094 kB / 1.207 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.425e-06/1.119, allocations: 0 / 1.207 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.862e-05/1.119, allocations: 3.938 kB / 1.207 GB, free: 1.777 MB / 0.9044 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.003699/1.122, allocations: 1.022 MB / 1.208 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.122, allocations: 7.594 kB / 1.208 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.124, allocations: 139.1 kB / 1.209 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008618/1.125, allocations: 431.6 kB / 1.209 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/1.125, allocations: 39.72 kB / 1.209 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/1.125, allocations: 52.69 kB / 1.209 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/1.126, allocations: 0.6548 MB / 1.21 GB, free: 48 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/1.126, allocations: 3.938 kB / 1.21 GB, free: 44 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/1.126, allocations: 27.97 kB / 1.21 GB, free: 24 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/1.126, allocations: 12.22 kB / 1.21 GB, free: 24 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/1.127, allocations: 460.8 kB / 1.21 GB, free: 15.81 MB / 0.92 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.01527/1.143, allocations: 6.497 MB / 1.216 GB, free: 10.53 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/1.143, allocations: 167.1 kB / 1.217 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/1.143, allocations: 122 kB / 1.217 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/1.155, allocations: 3.857 MB / 1.221 GB, free: 6.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/1.155, allocations: 34.8 kB / 1.221 GB, free: 6.188 MB / 0.92 GB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/1.155, allocations: 0 / 1.221 GB, free: 6.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.07871/1.233, allocations: 30.63 MB / 1.25 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.234, allocations: 140.5 kB / 1.251 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/1.234, allocations: 457.8 kB / 1.251 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/1.234, allocations: 29.7 kB / 1.251 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/1.235, allocations: 315.4 kB / 1.251 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/1.235, allocations: 142 kB / 1.251 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/1.235, allocations: 98.23 kB / 1.252 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.235, allocations: 362.8 kB / 1.252 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/1.235, allocations: 185 kB / 1.252 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/1.236, allocations: 353.1 kB / 1.252 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008808/1.237, allocations: 0.5198 MB / 1.253 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.237, allocations: 0 / 1.253 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001682/1.239, allocations: 0.6894 MB / 1.254 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.239, allocations: 4 kB / 1.254 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.239, allocations: 8.531 kB / 1.254 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/1.239, allocations: 121.6 kB / 1.254 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/1.24, allocations: 111.8 kB / 1.254 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/1.243, allocations: 3.414 MB / 1.257 GB, free: 164 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/1.243, allocations: 35.97 kB / 1.257 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/1.243, allocations: 20 kB / 1.257 GB, free: 108 kB / 0.9512 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.0003188/1.244, allocations: 189.6 kB / 1.257 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/1.244, allocations: 59.28 kB / 1.257 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/1.245, allocations: 0.6575 MB / 1.258 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.245, allocations: 4 kB / 1.258 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.245, allocations: 7.922 kB / 1.258 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.245, allocations: 0 / 1.258 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/1.247, allocations: 1.199 MB / 1.259 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.247, allocations: 4 kB / 1.259 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/1.248, allocations: 68.39 kB / 1.259 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/1.248, allocations: 64.81 kB / 1.259 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/1.248, allocations: 12 kB / 1.259 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/1.25, allocations: 1.741 MB / 1.261 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.25, allocations: 4 kB / 1.261 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/1.251, allocations: 0.7305 MB / 1.262 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/1.251, allocations: 124.5 kB / 1.262 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.542e-05/1.251, allocations: 16.86 kB / 1.262 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/1.252, allocations: 23.98 kB / 1.262 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/1.252, allocations: 35.91 kB / 1.262 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/1.252, allocations: 19.98 kB / 1.262 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004352/1.252, allocations: 350.9 kB / 1.262 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/1.252, allocations: 0 / 1.262 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001963/1.254, allocations: 0.5584 MB / 1.263 GB, free: 9.887 MB / 0.9669 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.00205/1.256, allocations: 0.5661 MB / 1.264 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001514/1.258, allocations: 0.6782 MB / 1.264 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.258, allocations: 0 / 1.264 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005457/1.259, allocations: 283.4 kB / 1.264 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.26, allocations: 310.4 kB / 1.265 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.262, allocations: 1.115 MB / 1.266 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/1.262, allocations: 0.8667 MB / 1.267 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004146/1.263, allocations: 109.6 kB / 1.267 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/1.263, allocations: 47.38 kB / 1.267 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/1.263, allocations: 0 / 1.267 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of Templates: time 0.03506/1.298, allocations: 23.08 MB / 1.289 GB, free: 14.98 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches