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.0008516/0.0008516, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008133/0.0008133, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8956/0.8956, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.779/1.779, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.713e-06/1.713e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.529e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.6579/0.658, allocations: 144.2 MB / 1.142 GB, free: 9.855 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008812/0.6668, allocations: 7.494 MB / 1.149 GB, free: 5.156 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.6675, allocations: 23.34 kB / 1.149 GB, free: 5.145 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.6685, allocations: 333 kB / 1.149 GB, free: 4.965 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.6705, allocations: 0.7825 MB / 1.15 GB, free: 4.52 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005715/0.6762, allocations: 2.188 MB / 1.152 GB, free: 3.664 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001957/0.6781, allocations: 1.387 MB / 1.154 GB, free: 2.988 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006578/0.6788, allocations: 365.9 kB / 1.154 GB, free: 2.828 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.6821, allocations: 1.685 MB / 1.156 GB, free: 2.055 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.6828, allocations: 398.8 kB / 1.156 GB, free: 1.926 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.6829, allocations: 51.38 kB / 1.156 GB, free: 1.926 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006982/0.6899, allocations: 3.507 MB / 1.159 GB, free: 1.176 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.6902, allocations: 166.6 kB / 1.16 GB, free: 1.074 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005669/0.6907, allocations: 251.6 kB / 1.16 GB, free: 0.9805 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.007548/0.6983, allocations: 3.131 MB / 1.163 GB, free: 84 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6983, allocations: 1.469 kB / 1.163 GB, free: 84 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6983, allocations: 0 / 1.163 GB, free: 84 kB / 1.01 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.6983, allocations: 0 / 1.163 GB, free: 84 kB / 1.01 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.003182/0.7015, allocations: 0.9643 MB / 1.164 GB, free: 15.45 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.7015, allocations: 9.531 kB / 1.164 GB, free: 15.45 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006604/0.7022, allocations: 140.4 kB / 1.164 GB, free: 15.4 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.7028, allocations: 366.3 kB / 1.164 GB, free: 15.14 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.7028, allocations: 42.75 kB / 1.164 GB, free: 15.12 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.7029, allocations: 50 kB / 1.164 GB, free: 15.11 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.7039, allocations: 0.9809 MB / 1.165 GB, free: 14.36 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.7039, allocations: 1.031 kB / 1.165 GB, free: 14.36 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.704, allocations: 23.78 kB / 1.165 GB, free: 14.34 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.704, allocations: 17.53 kB / 1.165 GB, free: 14.34 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007158/0.7047, allocations: 473.2 kB / 1.166 GB, free: 14.18 MB / 1.026 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.009691/0.7144, allocations: 5.509 MB / 1.171 GB, free: 12.17 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.7147, allocations: 152.2 kB / 1.171 GB, free: 12.11 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.7149, allocations: 114 kB / 1.172 GB, free: 12.06 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006819/0.7217, allocations: 3.261 MB / 1.175 GB, free: 11.71 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.7218, allocations: 42.92 kB / 1.175 GB, free: 11.66 MB / 1.026 GB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.7218, allocations: 0 / 1.175 GB, free: 11.66 MB / 1.026 GB Notification: Performance of matching and sorting (n=40): time 0.04485/0.7666, allocations: 30.53 MB / 1.205 GB, free: 10.88 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.7667, allocations: 144.4 kB / 1.205 GB, free: 10.71 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.767, allocations: 359 kB / 1.205 GB, free: 10.35 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.7671, allocations: 33.7 kB / 1.205 GB, free: 10.31 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.7675, allocations: 332.4 kB / 1.205 GB, free: 9.984 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.7676, allocations: 154.7 kB / 1.206 GB, free: 9.832 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.7677, allocations: 98.3 kB / 1.206 GB, free: 9.73 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.7678, allocations: 358.7 kB / 1.206 GB, free: 9.371 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.768, allocations: 181.2 kB / 1.206 GB, free: 9.195 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.7684, allocations: 427.3 kB / 1.207 GB, free: 8.688 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/0.7689, allocations: 0.5212 MB / 1.207 GB, free: 8.113 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.769, allocations: 4 kB / 1.207 GB, free: 8.109 MB / 1.042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001009/0.77, allocations: 0.6707 MB / 1.208 GB, free: 7.426 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.77, allocations: 13.97 kB / 1.208 GB, free: 7.414 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.77, allocations: 5.188 kB / 1.208 GB, free: 7.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.7703, allocations: 121.5 kB / 1.208 GB, free: 7.285 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.7706, allocations: 111.9 kB / 1.208 GB, free: 7.176 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.7727, allocations: 3.153 MB / 1.211 GB, free: 3.82 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.773, allocations: 34.3 kB / 1.211 GB, free: 3.789 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.773, allocations: 24 kB / 1.211 GB, free: 3.766 MB / 1.042 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.0002241/0.7733, allocations: 193.7 kB / 1.211 GB, free: 3.566 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.7734, allocations: 51.66 kB / 1.211 GB, free: 3.516 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008323/0.7742, allocations: 0.6337 MB / 1.212 GB, free: 2.852 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7742, allocations: 4 kB / 1.212 GB, free: 2.848 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.7742, allocations: 0.625 kB / 1.212 GB, free: 2.848 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7742, allocations: 0 / 1.212 GB, free: 2.848 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.7757, allocations: 1.043 MB / 1.213 GB, free: 1.715 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.7758, allocations: 4 kB / 1.213 GB, free: 1.711 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.7759, allocations: 68.77 kB / 1.213 GB, free: 1.645 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.7761, allocations: 65.25 kB / 1.213 GB, free: 1.578 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.7761, allocations: 16 kB / 1.213 GB, free: 1.562 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.7772, allocations: 1.609 MB / 1.215 GB, free: 15.86 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7772, allocations: 8 kB / 1.215 GB, free: 15.85 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.7781, allocations: 0.7057 MB / 1.215 GB, free: 15.08 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.7781, allocations: 39.75 kB / 1.215 GB, free: 15.04 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.7781, allocations: 15.94 kB / 1.215 GB, free: 15.02 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.7783, allocations: 19.98 kB / 1.215 GB, free: 15 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.7784, allocations: 39.83 kB / 1.216 GB, free: 14.96 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.7784, allocations: 15.98 kB / 1.216 GB, free: 14.95 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002091/0.7786, allocations: 271.2 kB / 1.216 GB, free: 14.68 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7786, allocations: 0 / 1.216 GB, free: 14.68 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.00282/0.7814, allocations: 0.5607 MB / 1.216 GB, free: 14.12 MB / 1.057 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.002282/0.7837, allocations: 0.608 MB / 1.217 GB, free: 13.51 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.7847, allocations: 0.639 MB / 1.218 GB, free: 12.85 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7847, allocations: 0 / 1.218 GB, free: 12.85 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.7851, allocations: 278.4 kB / 1.218 GB, free: 12.56 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.7858, allocations: 203.1 kB / 1.218 GB, free: 12.38 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.7874, allocations: 1.07 MB / 1.219 GB, free: 11.23 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.7875, allocations: 266.4 kB / 1.219 GB, free: 10.94 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.7876, allocations: 48.48 kB / 1.219 GB, free: 10.89 MB / 1.057 GB Notification: Performance of SimCode: time 1.372e-06/0.7876, allocations: 0 / 1.219 GB, free: 10.89 MB / 1.057 GB Notification: Performance of Templates: time 0.02035/0.808, allocations: 18.93 MB / 1.238 GB, free: 8.055 MB / 1.073 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: 8.808102067559958]