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.001455/0.001455, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001517/0.001517, allocations: 187 kB / 17.34 MB, free: 5.719 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 63.91 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8409/0.8424, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1764/1.019, allocations: 163.2 MB / 1.38 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01067/1.03, allocations: 8.113 MB / 1.388 GB, free: 6.359 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007572/1.03, allocations: 19.88 kB / 1.388 GB, free: 6.34 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/1.032, allocations: 361.8 kB / 1.389 GB, free: 5.984 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/1.034, allocations: 0.7475 MB / 1.389 GB, free: 5.234 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005602/1.039, allocations: 2.154 MB / 1.391 GB, free: 3.09 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002071/1.041, allocations: 1.368 MB / 1.393 GB, free: 1.715 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006882/1.042, allocations: 425.5 kB / 1.393 GB, free: 1.293 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/1.046, allocations: 1.457 MB / 1.395 GB, free: 15.83 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/1.047, allocations: 454.1 kB / 1.395 GB, free: 15.39 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.881e-05/1.047, allocations: 52 kB / 1.395 GB, free: 15.34 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007218/1.054, allocations: 3.628 MB / 1.399 GB, free: 11.7 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003111/1.054, allocations: 151.5 kB / 1.399 GB, free: 11.55 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005774/1.055, allocations: 342.5 kB / 1.399 GB, free: 11.21 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004982/1.06, allocations: 2.564 MB / 1.402 GB, free: 8.641 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.06, allocations: 7.922 kB / 1.402 GB, free: 8.633 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.653e-06/1.06, allocations: 0 / 1.402 GB, free: 8.633 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.06, allocations: 0 / 1.402 GB, free: 8.633 MB / 1.123 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.00226/1.062, allocations: 1.017 MB / 1.403 GB, free: 7.566 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.062, allocations: 8.625 kB / 1.403 GB, free: 7.559 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/1.063, allocations: 139.1 kB / 1.403 GB, free: 7.422 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/1.064, allocations: 441.4 kB / 1.403 GB, free: 6.953 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/1.064, allocations: 37.31 kB / 1.403 GB, free: 6.914 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/1.064, allocations: 52 kB / 1.403 GB, free: 6.863 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/1.065, allocations: 0.6487 MB / 1.404 GB, free: 6.164 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/1.065, allocations: 7.938 kB / 1.404 GB, free: 6.156 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/1.066, allocations: 24 kB / 1.404 GB, free: 6.133 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/1.066, allocations: 16 kB / 1.404 GB, free: 6.117 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009771/1.067, allocations: 471.5 kB / 1.404 GB, free: 5.656 MB / 1.123 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.01588/1.082, allocations: 6.487 MB / 1.411 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/1.083, allocations: 155.2 kB / 1.411 GB, free: 14.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/1.083, allocations: 125.2 kB / 1.411 GB, free: 14.61 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/1.095, allocations: 3.857 MB / 1.415 GB, free: 10.6 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/1.095, allocations: 34.8 kB / 1.415 GB, free: 10.55 MB / 1.139 GB Notification: Performance of pre-optimization done (n=27): time 2.405e-06/1.095, allocations: 0 / 1.415 GB, free: 10.55 MB / 1.139 GB Notification: Performance of matching and sorting (n=40): time 0.08458/1.179, allocations: 30.61 MB / 1.445 GB, free: 11.91 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/1.18, allocations: 136.5 kB / 1.445 GB, free: 11.75 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/1.18, allocations: 461.7 kB / 1.445 GB, free: 11.3 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/1.18, allocations: 33.7 kB / 1.445 GB, free: 11.26 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/1.18, allocations: 315.4 kB / 1.446 GB, free: 10.95 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.181, allocations: 145.9 kB / 1.446 GB, free: 10.8 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/1.181, allocations: 102.1 kB / 1.446 GB, free: 10.69 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.181, allocations: 358.8 kB / 1.446 GB, free: 10.33 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/1.181, allocations: 185 kB / 1.446 GB, free: 10.15 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/1.182, allocations: 349.2 kB / 1.447 GB, free: 9.746 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/1.183, allocations: 0.5156 MB / 1.447 GB, free: 9.172 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.183, allocations: 4 kB / 1.447 GB, free: 9.168 MB / 1.17 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001699/1.184, allocations: 0.6916 MB / 1.448 GB, free: 8.465 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.184, allocations: 8 kB / 1.448 GB, free: 8.457 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.184, allocations: 4.531 kB / 1.448 GB, free: 8.453 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004977/1.185, allocations: 121.6 kB / 1.448 GB, free: 8.328 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/1.185, allocations: 111.8 kB / 1.448 GB, free: 8.219 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/1.189, allocations: 3.418 MB / 1.451 GB, free: 4.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/1.189, allocations: 31.97 kB / 1.451 GB, free: 4.488 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/1.189, allocations: 20 kB / 1.451 GB, free: 4.469 MB / 1.17 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.0002876/1.189, allocations: 190.2 kB / 1.452 GB, free: 4.273 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/1.19, allocations: 67.28 kB / 1.452 GB, free: 4.207 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/1.191, allocations: 0.6543 MB / 1.452 GB, free: 3.523 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.191, allocations: 4 kB / 1.452 GB, free: 3.52 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/1.191, allocations: 0 / 1.452 GB, free: 3.52 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/1.191, allocations: 0 / 1.452 GB, free: 3.52 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/1.193, allocations: 1.201 MB / 1.453 GB, free: 2.211 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.193, allocations: 4 kB / 1.453 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/1.193, allocations: 68.33 kB / 1.454 GB, free: 2.141 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002507/1.194, allocations: 68.81 kB / 1.454 GB, free: 2.07 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/1.194, allocations: 20.05 kB / 1.454 GB, free: 2.051 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/1.195, allocations: 1.737 MB / 1.455 GB, free: 180 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.195, allocations: 4 kB / 1.455 GB, free: 176 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/1.197, allocations: 0.7243 MB / 1.456 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/1.197, allocations: 124.6 kB / 1.456 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/1.197, allocations: 12 kB / 1.456 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/1.197, allocations: 19.98 kB / 1.456 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/1.197, allocations: 43.84 kB / 1.456 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/1.198, allocations: 19.98 kB / 1.456 GB, free: 15.14 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004116/1.198, allocations: 350.9 kB / 1.457 GB, free: 14.8 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.51e-07/1.198, allocations: 4 kB / 1.457 GB, free: 14.8 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001741/1.2, allocations: 0.5584 MB / 1.457 GB, free: 14.24 MB / 1.186 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.001947/1.202, allocations: 0.5622 MB / 1.458 GB, free: 13.67 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001529/1.203, allocations: 0.6755 MB / 1.458 GB, free: 12.97 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.203, allocations: 0 / 1.458 GB, free: 12.97 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005314/1.204, allocations: 293.8 kB / 1.459 GB, free: 12.68 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/1.205, allocations: 310.8 kB / 1.459 GB, free: 12.38 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/1.207, allocations: 1.141 MB / 1.46 GB, free: 11.16 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/1.207, allocations: 0.8589 MB / 1.461 GB, free: 10.27 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.208, allocations: 55.42 kB / 1.461 GB, free: 10.21 MB / 1.186 GB Notification: Performance of SimCode: time 6.81e-07/1.208, allocations: 4 kB / 1.461 GB, free: 10.21 MB / 1.186 GB Notification: Performance of Templates: time 0.02837/1.236, allocations: 19.71 MB / 1.48 GB, free: 6.625 MB / 1.201 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/jenkins1/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