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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001637/0.001637, allocations: 111.2 kB / 16.42 MB, free: 6.469 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.00183/0.00183, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7729, allocations: 151.7 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1713/0.9442, allocations: 163.2 MB / 1.327 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00982/0.9541, allocations: 8.125 MB / 1.335 GB, free: 7.832 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.9548, allocations: 15.94 kB / 1.335 GB, free: 7.816 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.9558, allocations: 369.8 kB / 1.335 GB, free: 7.453 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.9576, allocations: 0.7316 MB / 1.336 GB, free: 6.719 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004719/0.9623, allocations: 2.149 MB / 1.338 GB, free: 4.578 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001492/0.9638, allocations: 1.372 MB / 1.339 GB, free: 3.199 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.9644, allocations: 437.4 kB / 1.34 GB, free: 2.766 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.9674, allocations: 1.456 MB / 1.341 GB, free: 1.305 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005817/0.968, allocations: 442.2 kB / 1.341 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.081e-05/0.9681, allocations: 52 kB / 1.341 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006464/0.9746, allocations: 3.625 MB / 1.345 GB, free: 13.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.9748, allocations: 155.5 kB / 1.345 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.9752, allocations: 350.4 kB / 1.346 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003545/0.9787, allocations: 2.591 MB / 1.348 GB, free: 10.1 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9787, allocations: 0 / 1.348 GB, free: 10.1 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9787, allocations: 3.938 kB / 1.348 GB, free: 10.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.9788, allocations: 0 / 1.348 GB, free: 10.09 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.001784/0.9805, allocations: 1.039 MB / 1.349 GB, free: 9.004 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.9806, allocations: 8.922 kB / 1.349 GB, free: 8.996 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.9817, allocations: 143.5 kB / 1.349 GB, free: 8.855 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006459/0.9824, allocations: 441.8 kB / 1.35 GB, free: 8.387 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.9824, allocations: 37.31 kB / 1.35 GB, free: 8.348 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.9825, allocations: 52 kB / 1.35 GB, free: 8.297 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.9836, allocations: 0.6525 MB / 1.35 GB, free: 7.594 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.9836, allocations: 0 / 1.35 GB, free: 7.594 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.9837, allocations: 28 kB / 1.35 GB, free: 7.566 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.9837, allocations: 12 kB / 1.35 GB, free: 7.555 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009655/0.9847, allocations: 475.5 kB / 1.351 GB, free: 7.094 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.01504/0.9997, allocations: 6.495 MB / 1.357 GB, free: 324 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/1, allocations: 159.2 kB / 1.357 GB, free: 156 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/1.001, allocations: 129.1 kB / 1.357 GB, free: 24 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/1.012, allocations: 3.845 MB / 1.361 GB, free: 12.03 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/1.012, allocations: 42.8 kB / 1.361 GB, free: 11.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=27): time 2.955e-06/1.012, allocations: 0 / 1.361 GB, free: 11.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=40): time 0.08135/1.093, allocations: 30.64 MB / 1.391 GB, free: 13.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/1.093, allocations: 140.5 kB / 1.391 GB, free: 13.17 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/1.094, allocations: 469.8 kB / 1.392 GB, free: 12.71 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/1.094, allocations: 33.7 kB / 1.392 GB, free: 12.67 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/1.094, allocations: 308.1 kB / 1.392 GB, free: 12.36 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/1.094, allocations: 154.7 kB / 1.392 GB, free: 12.21 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/1.094, allocations: 102.2 kB / 1.392 GB, free: 12.1 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.095, allocations: 362.8 kB / 1.393 GB, free: 11.74 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/1.095, allocations: 181 kB / 1.393 GB, free: 11.56 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/1.096, allocations: 357.2 kB / 1.393 GB, free: 11.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009219/1.096, allocations: 0.5153 MB / 1.394 GB, free: 10.57 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.096, allocations: 0 / 1.394 GB, free: 10.57 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001775/1.098, allocations: 0.7014 MB / 1.394 GB, free: 9.855 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.098, allocations: 4 kB / 1.394 GB, free: 9.852 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.098, allocations: 7.984 kB / 1.394 GB, free: 9.844 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004978/1.099, allocations: 122 kB / 1.394 GB, free: 9.719 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/1.099, allocations: 111.8 kB / 1.395 GB, free: 9.609 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/1.102, allocations: 3.418 MB / 1.398 GB, free: 5.914 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/1.103, allocations: 27.98 kB / 1.398 GB, free: 5.887 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/1.103, allocations: 20 kB / 1.398 GB, free: 5.867 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.0002812/1.103, allocations: 201.8 kB / 1.398 GB, free: 5.664 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/1.104, allocations: 59.61 kB / 1.398 GB, free: 5.605 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/1.105, allocations: 0.643 MB / 1.399 GB, free: 4.938 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.105, allocations: 15.81 kB / 1.399 GB, free: 4.922 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.105, allocations: 0 / 1.399 GB, free: 4.922 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/1.105, allocations: 124.8 kB / 1.399 GB, free: 4.781 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/1.105, allocations: 4 kB / 1.399 GB, free: 4.777 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/1.106, allocations: 19.98 kB / 1.399 GB, free: 4.758 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/1.106, allocations: 23.95 kB / 1.399 GB, free: 4.734 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001476/1.107, allocations: 0.5195 MB / 1.4 GB, free: 4.203 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001335/1.109, allocations: 0.7211 MB / 1.4 GB, free: 3.465 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003184/1.109, allocations: 139.9 kB / 1.4 GB, free: 3.328 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004237/1.109, allocations: 346.8 kB / 1.401 GB, free: 2.988 MB / 1.123 GB Notification: Performance of Backend: time 6.91e-07/1.109, allocations: 0 / 1.401 GB, free: 2.988 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.121, allocations: 1.45 MB / 1.402 GB, free: 1.516 MB / 1.123 GB Notification: Performance of SimCode: time 0.002858/1.123, allocations: 1.69 MB / 1.404 GB, free: 15.77 MB / 1.139 GB Notification: Performance of Templates: time 0.08914/1.213, allocations: 66.25 MB / 1.468 GB, free: 14.12 MB / 1.201 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 -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