Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001356/0.001356, allocations: 109.1 kB / 16.37 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.001454/0.001454, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 64.03 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2892, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.6335/0.9227, allocations: 163.2 MB / 1.178 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.9341, allocations: 8.136 MB / 1.186 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007059/0.9348, allocations: 14.94 kB / 1.186 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.9359, allocations: 337.7 kB / 1.186 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.938, allocations: 0.7214 MB / 1.187 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.9443, allocations: 2.134 MB / 1.189 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.9462, allocations: 1.368 MB / 1.191 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005812/0.9468, allocations: 442.5 kB / 1.191 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.9501, allocations: 1.413 MB / 1.192 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.9508, allocations: 447.6 kB / 1.193 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.977e-05/0.9509, allocations: 57.12 kB / 1.193 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007201/0.9581, allocations: 3.623 MB / 1.196 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.9584, allocations: 150.4 kB / 1.197 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006463/0.9591, allocations: 350.3 kB / 1.197 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004873/0.964, allocations: 2.588 MB / 1.199 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.964, allocations: 0 / 1.199 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.783e-06/0.964, allocations: 0 / 1.199 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.964, allocations: 0 / 1.199 GB, free: 12.04 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.002153/0.9662, allocations: 1.017 MB / 1.2 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.9663, allocations: 10.88 kB / 1.2 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.9674, allocations: 129.5 kB / 1.201 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.968, allocations: 434.5 kB / 1.201 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.9681, allocations: 43.22 kB / 1.201 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.9682, allocations: 52.36 kB / 1.201 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.9692, allocations: 0.6552 MB / 1.202 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.9692, allocations: 3.938 kB / 1.202 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.9693, allocations: 23.47 kB / 1.202 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.9693, allocations: 12.66 kB / 1.202 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/0.9702, allocations: 468.8 kB / 1.202 GB, free: 10.07 MB / 0.9044 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.01503/0.9853, allocations: 6.486 MB / 1.209 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.9857, allocations: 170.2 kB / 1.209 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.986, allocations: 121.2 kB / 1.209 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.9972, allocations: 3.85 MB / 1.213 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.9973, allocations: 38.8 kB / 1.213 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=27): time 1.793e-06/0.9973, allocations: 0 / 1.213 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.07847/1.076, allocations: 30.64 MB / 1.243 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/1.076, allocations: 136.5 kB / 1.243 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/1.076, allocations: 461.8 kB / 1.243 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/1.077, allocations: 37.7 kB / 1.243 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/1.077, allocations: 303.4 kB / 1.243 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/1.077, allocations: 142 kB / 1.244 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/1.077, allocations: 102.1 kB / 1.244 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.077, allocations: 366.8 kB / 1.244 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/1.078, allocations: 177.6 kB / 1.244 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/1.078, allocations: 357.2 kB / 1.245 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008579/1.079, allocations: 0.5208 MB / 1.245 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.079, allocations: 0 / 1.245 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001671/1.081, allocations: 0.6972 MB / 1.246 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.081, allocations: 8.531 kB / 1.246 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.081, allocations: 4 kB / 1.246 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/1.081, allocations: 121.6 kB / 1.246 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/1.082, allocations: 119.8 kB / 1.246 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/1.085, allocations: 3.41 MB / 1.249 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/1.085, allocations: 27.92 kB / 1.249 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/1.085, allocations: 24 kB / 1.249 GB, free: 11.84 MB / 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.0002705/1.086, allocations: 195.8 kB / 1.25 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/1.086, allocations: 67.36 kB / 1.25 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/1.087, allocations: 0.6473 MB / 1.25 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.087, allocations: 3.938 kB / 1.25 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/1.087, allocations: 4 kB / 1.25 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.087, allocations: 0 / 1.25 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/1.089, allocations: 1.199 MB / 1.251 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/1.089, allocations: 4.5 kB / 1.251 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/1.09, allocations: 72.02 kB / 1.251 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000254/1.09, allocations: 68.8 kB / 1.252 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/1.09, allocations: 16 kB / 1.252 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/1.092, allocations: 1.733 MB / 1.253 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.092, allocations: 7.938 kB / 1.253 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/1.093, allocations: 0.7187 MB / 1.254 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/1.093, allocations: 128.5 kB / 1.254 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/1.093, allocations: 12 kB / 1.254 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/1.094, allocations: 19.98 kB / 1.254 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/1.094, allocations: 35.91 kB / 1.254 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/1.094, allocations: 19.98 kB / 1.254 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004823/1.094, allocations: 358.8 kB / 1.254 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.21e-07/1.094, allocations: 0 / 1.254 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00207/1.096, allocations: 0.5584 MB / 1.255 GB, free: 5.621 MB / 0.9512 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.001963/1.098, allocations: 0.5614 MB / 1.256 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001455/1.1, allocations: 0.6702 MB / 1.256 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.1, allocations: 0 / 1.256 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005435/1.1, allocations: 286.2 kB / 1.257 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.102, allocations: 318.3 kB / 1.257 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/1.104, allocations: 1.116 MB / 1.258 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/1.104, allocations: 0.8628 MB / 1.259 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004055/1.104, allocations: 119 kB / 1.259 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/1.105, allocations: 51.42 kB / 1.259 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/1.105, allocations: 7.938 kB / 1.259 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.3263/1.431, allocations: 23.07 MB / 1.281 GB, free: 10.71 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches