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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 80.14 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002833/0.002833, allocations: 159.4 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.955/2.955, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 1 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.527e-05/3.748e-05, allocations: 9.734 kB / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.9667/0.9667, allocations: 144.2 MB / 1.141 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009917/0.9766, allocations: 7.499 MB / 1.148 GB, free: 45 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009258/0.9776, allocations: 21.22 kB / 1.148 GB, free: 45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.9787, allocations: 334.4 kB / 1.149 GB, free: 44.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.9812, allocations: 0.7818 MB / 1.149 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006234/0.9874, allocations: 2.179 MB / 1.152 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002229/0.9897, allocations: 1.392 MB / 1.153 GB, free: 44.87 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007131/0.9904, allocations: 363.3 kB / 1.153 GB, free: 44.85 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004228/0.9946, allocations: 1.687 MB / 1.155 GB, free: 44.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007865/0.9954, allocations: 390.5 kB / 1.155 GB, free: 44.58 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.9955, allocations: 53.03 kB / 1.155 GB, free: 44.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007934/1.003, allocations: 3.514 MB / 1.159 GB, free: 44.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003292/1.004, allocations: 162.7 kB / 1.159 GB, free: 44.51 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006556/1.004, allocations: 249.4 kB / 1.159 GB, free: 44.49 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006104/1.011, allocations: 3.132 MB / 1.162 GB, free: 44.37 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.011, allocations: 0.5938 kB / 1.162 GB, free: 44.37 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.893e-06/1.011, allocations: 0.7812 kB / 1.162 GB, free: 44.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.158e-05/1.011, allocations: 0 / 1.162 GB, free: 44.37 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.002104/1.013, allocations: 0.9678 MB / 1.163 GB, free: 43.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.013, allocations: 12.39 kB / 1.163 GB, free: 43.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.014, allocations: 135 kB / 1.163 GB, free: 43.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/1.014, allocations: 362.9 kB / 1.164 GB, free: 43.62 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/1.014, allocations: 46.03 kB / 1.164 GB, free: 43.62 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/1.015, allocations: 52.12 kB / 1.164 GB, free: 43.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.016, allocations: 0.9784 MB / 1.165 GB, free: 43.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/1.016, allocations: 6.562 kB / 1.165 GB, free: 43.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/1.016, allocations: 22.19 kB / 1.165 GB, free: 43.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/1.016, allocations: 19.45 kB / 1.165 GB, free: 43.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009042/1.017, allocations: 467.6 kB / 1.165 GB, free: 43.04 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.01649/1.033, allocations: 5.503 MB / 1.171 GB, free: 41.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/1.034, allocations: 156.2 kB / 1.171 GB, free: 41.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/1.034, allocations: 114.3 kB / 1.171 GB, free: 41.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01304/1.047, allocations: 3.267 MB / 1.174 GB, free: 41.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/1.047, allocations: 38.47 kB / 1.174 GB, free: 41.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 2.725e-06/1.047, allocations: 0 / 1.174 GB, free: 41.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.09416/1.141, allocations: 30.54 MB / 1.204 GB, free: 38.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/1.141, allocations: 140.3 kB / 1.204 GB, free: 37.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/1.142, allocations: 354.9 kB / 1.204 GB, free: 37.76 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/1.142, allocations: 32.89 kB / 1.204 GB, free: 37.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/1.142, allocations: 327.1 kB / 1.205 GB, free: 37.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.142, allocations: 148.8 kB / 1.205 GB, free: 37.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/1.142, allocations: 103.6 kB / 1.205 GB, free: 37.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.332e-05/1.142, allocations: 357.9 kB / 1.205 GB, free: 37.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/1.143, allocations: 184.5 kB / 1.205 GB, free: 37.08 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/1.143, allocations: 430 kB / 1.206 GB, free: 36.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008595/1.144, allocations: 0.5238 MB / 1.206 GB, free: 36.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.144, allocations: 2.875 kB / 1.206 GB, free: 36.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001766/1.146, allocations: 0.6784 MB / 1.207 GB, free: 36.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.146, allocations: 6.281 kB / 1.207 GB, free: 36.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.146, allocations: 5.062 kB / 1.207 GB, free: 36.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/1.146, allocations: 119.7 kB / 1.207 GB, free: 36.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/1.147, allocations: 119.1 kB / 1.207 GB, free: 36.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/1.149, allocations: 3.147 MB / 1.21 GB, free: 33.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/1.15, allocations: 33.94 kB / 1.21 GB, free: 33.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/1.15, allocations: 26.53 kB / 1.21 GB, free: 33.86 MB / 1.076 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.0003217/1.15, allocations: 193.2 kB / 1.211 GB, free: 33.74 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/1.151, allocations: 47.5 kB / 1.211 GB, free: 33.71 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/1.152, allocations: 0.6441 MB / 1.211 GB, free: 33.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.152, allocations: 8.531 kB / 1.211 GB, free: 33.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/1.152, allocations: 0 / 1.211 GB, free: 33.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.152, allocations: 0 / 1.211 GB, free: 33.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/1.154, allocations: 1.037 MB / 1.212 GB, free: 33.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.154, allocations: 4.109 kB / 1.212 GB, free: 33.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/1.154, allocations: 75.25 kB / 1.212 GB, free: 33.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/1.154, allocations: 69.92 kB / 1.212 GB, free: 33.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/1.154, allocations: 11.81 kB / 1.212 GB, free: 33.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/1.156, allocations: 1.601 MB / 1.214 GB, free: 31.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.156, allocations: 5.25 kB / 1.214 GB, free: 31.85 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.157, allocations: 0.7105 MB / 1.215 GB, free: 31.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/1.157, allocations: 39.44 kB / 1.215 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.976e-05/1.157, allocations: 18.56 kB / 1.215 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/1.158, allocations: 22.36 kB / 1.215 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/1.158, allocations: 37.22 kB / 1.215 GB, free: 31.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/1.158, allocations: 16.72 kB / 1.215 GB, free: 31.51 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002945/1.158, allocations: 266.5 kB / 1.215 GB, free: 31.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.158, allocations: 0 / 1.215 GB, free: 31.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001978/1.16, allocations: 0.5653 MB / 1.216 GB, free: 31.38 MB / 1.076 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.003385/1.163, allocations: 0.6036 MB / 1.216 GB, free: 31.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002213/1.166, allocations: 0.637 MB / 1.217 GB, free: 30.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.2e-05/1.166, allocations: 2.938 kB / 1.217 GB, free: 30.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007059/1.166, allocations: 287.9 kB / 1.217 GB, free: 30.87 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.168, allocations: 203.4 kB / 1.217 GB, free: 30.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/1.171, allocations: 1.035 MB / 1.218 GB, free: 30.26 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/1.171, allocations: 260.9 kB / 1.219 GB, free: 30.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005553/1.172, allocations: 102.7 kB / 1.219 GB, free: 30.13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/1.172, allocations: 41.75 kB / 1.219 GB, free: 30.12 MB / 1.076 GB Notification: Performance of SimCode: time 1.643e-06/1.172, allocations: 10.75 kB / 1.219 GB, free: 30.11 MB / 1.076 GB Notification: Performance of Templates: time 0.03198/1.204, allocations: 20.69 MB / 1.239 GB, free: 25.73 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.365469746291637]