Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001482/0.001482, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.001649/0.001649, allocations: 170.8 kB / 22.47 MB, free: 5.359 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.518/1.518, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.935/2.935, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.272e-05, allocations: 6.219 kB / 0.9814 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.769/0.769, allocations: 144.2 MB / 1.122 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.7793, allocations: 7.503 MB / 1.13 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008731/0.7801, allocations: 20.59 kB / 1.13 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.7813, allocations: 337.3 kB / 1.13 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.7836, allocations: 0.78 MB / 1.131 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006782/0.7903, allocations: 2.185 MB / 1.133 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002125/0.7925, allocations: 1.397 MB / 1.134 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006725/0.7931, allocations: 363.5 kB / 1.135 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.797, allocations: 1.695 MB / 1.136 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007458/0.7978, allocations: 393.8 kB / 1.137 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.7979, allocations: 50.28 kB / 1.137 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008814/0.8067, allocations: 3.508 MB / 1.14 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.807, allocations: 159.6 kB / 1.14 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007074/0.8077, allocations: 252.2 kB / 1.14 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007791/0.8155, allocations: 3.139 MB / 1.143 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.8155, allocations: 0 / 1.143 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8155, allocations: 3.938 kB / 1.143 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.955e-05/0.8156, allocations: 1.094 kB / 1.143 GB, free: 13.88 MB / 0.9981 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.002685/0.8182, allocations: 0.9584 MB / 1.144 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.8183, allocations: 10.12 kB / 1.144 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.8194, allocations: 137.8 kB / 1.145 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.8201, allocations: 369.9 kB / 1.145 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.8201, allocations: 40.56 kB / 1.145 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.8202, allocations: 55.02 kB / 1.145 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.8214, allocations: 0.9795 MB / 1.146 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.8214, allocations: 2.5 kB / 1.146 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.8215, allocations: 27.83 kB / 1.146 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.8215, allocations: 21.06 kB / 1.146 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.8226, allocations: 466.7 kB / 1.146 GB, free: 12.55 MB / 0.9981 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.01615/0.8387, allocations: 5.489 MB / 1.152 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.8391, allocations: 153.2 kB / 1.152 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.8394, allocations: 118.2 kB / 1.152 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01237/0.8518, allocations: 3.26 MB / 1.155 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.8518, allocations: 39.14 kB / 1.155 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.585e-06/0.8518, allocations: 0 / 1.155 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.0849/0.9368, allocations: 30.55 MB / 1.185 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.9368, allocations: 143.2 kB / 1.185 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/0.9373, allocations: 353.5 kB / 1.186 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.9374, allocations: 31.98 kB / 1.186 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.9375, allocations: 328.8 kB / 1.186 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.9376, allocations: 142.3 kB / 1.186 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.9378, allocations: 107.2 kB / 1.186 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.9378, allocations: 351.6 kB / 1.187 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/0.9384, allocations: 183.5 kB / 1.187 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.9392, allocations: 430.5 kB / 1.187 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.9403, allocations: 0.5175 MB / 1.188 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9403, allocations: 1.781 kB / 1.188 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002491/0.9428, allocations: 0.6892 MB / 1.188 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.9428, allocations: 5.469 kB / 1.188 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.9428, allocations: 6.438 kB / 1.188 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006833/0.9435, allocations: 118 kB / 1.188 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/0.9442, allocations: 117.4 kB / 1.189 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.9476, allocations: 3.137 MB / 1.192 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008476/0.9484, allocations: 34.09 kB / 1.192 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.9485, allocations: 23.62 kB / 1.192 GB, free: 1.082 MB / 0.9981 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.0003882/0.9489, allocations: 202 kB / 1.192 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.9493, allocations: 46.94 kB / 1.192 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.9513, allocations: 0.6445 MB / 1.193 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.9513, allocations: 2.875 kB / 1.193 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.9513, allocations: 0 / 1.193 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.9513, allocations: 3.984 kB / 1.193 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.9542, allocations: 1.048 MB / 1.194 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.9542, allocations: 6.406 kB / 1.194 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.9547, allocations: 63.98 kB / 1.194 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003602/0.955, allocations: 69.7 kB / 1.194 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.9551, allocations: 15.41 kB / 1.194 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.9578, allocations: 1.61 MB / 1.195 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.9579, allocations: 5.594 kB / 1.195 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.9602, allocations: 0.704 MB / 1.196 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.9603, allocations: 37.48 kB / 1.196 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.9604, allocations: 18.67 kB / 1.196 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005955/0.961, allocations: 19.48 kB / 1.196 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.9611, allocations: 36.64 kB / 1.196 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.9612, allocations: 18.09 kB / 1.196 GB, free: 14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005001/0.9617, allocations: 270.8 kB / 1.196 GB, free: 13.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9617, allocations: 0 / 1.196 GB, free: 13.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00317/0.9648, allocations: 0.5659 MB / 1.197 GB, free: 13.76 MB / 1.014 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.003856/0.9687, allocations: 0.6068 MB / 1.197 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.9715, allocations: 0.6372 MB / 1.198 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.9715, allocations: 4 kB / 1.198 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.9726, allocations: 275.2 kB / 1.198 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.9749, allocations: 201.8 kB / 1.199 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.9783, allocations: 1.051 MB / 1.2 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.9788, allocations: 266.4 kB / 1.2 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006813/0.9794, allocations: 89.2 kB / 1.2 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.9797, allocations: 44.48 kB / 1.2 GB, free: 11.04 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.9797, allocations: 0 / 1.2 GB, free: 11.04 MB / 1.014 GB Notification: Performance of Templates: time 0.06485/1.045, allocations: 20.7 MB / 1.22 GB, free: 6.637 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.930384632200003]