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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 117 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 191.7 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.981/2.981, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=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 0.001955/0.001955, allocations: 63.91 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2119/1.224, allocations: 163.2 MB / 1.422 GB, free: 14.74 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01314/1.237, allocations: 8.137 MB / 1.43 GB, free: 8.281 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000924/1.238, allocations: 15.91 kB / 1.43 GB, free: 8.277 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/1.239, allocations: 341.2 kB / 1.43 GB, free: 7.996 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002613/1.242, allocations: 0.728 MB / 1.431 GB, free: 7.418 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006875/1.249, allocations: 2.13 MB / 1.433 GB, free: 5.875 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002518/1.251, allocations: 1.36 MB / 1.434 GB, free: 5.09 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009029/1.252, allocations: 444.2 kB / 1.435 GB, free: 4.809 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/1.256, allocations: 1.418 MB / 1.436 GB, free: 3.883 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/1.258, allocations: 447.2 kB / 1.437 GB, free: 3.621 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/1.258, allocations: 55.47 kB / 1.437 GB, free: 3.617 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007872/1.266, allocations: 3.622 MB / 1.44 GB, free: 1.754 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003405/1.266, allocations: 150.6 kB / 1.44 GB, free: 1.637 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007028/1.267, allocations: 349.9 kB / 1.441 GB, free: 1.426 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005669/1.272, allocations: 2.57 MB / 1.443 GB, free: 15.18 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.272, allocations: 0 / 1.443 GB, free: 15.18 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.833e-06/1.272, allocations: 0 / 1.443 GB, free: 15.18 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.449e-05/1.272, allocations: 0 / 1.443 GB, free: 15.18 MB / 1.139 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.002506/1.275, allocations: 1.043 MB / 1.444 GB, free: 14.09 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.275, allocations: 8.031 kB / 1.444 GB, free: 14.08 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.276, allocations: 139.5 kB / 1.444 GB, free: 13.95 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/1.277, allocations: 437.8 kB / 1.445 GB, free: 13.48 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/1.277, allocations: 37.31 kB / 1.445 GB, free: 13.44 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/1.277, allocations: 55.94 kB / 1.445 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.278, allocations: 0.6603 MB / 1.445 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/1.278, allocations: 0 / 1.445 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/1.278, allocations: 28 kB / 1.446 GB, free: 12.65 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/1.278, allocations: 12 kB / 1.446 GB, free: 12.64 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/1.279, allocations: 471.5 kB / 1.446 GB, free: 12.18 MB / 1.139 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.01657/1.296, allocations: 6.491 MB / 1.452 GB, free: 5.406 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/1.297, allocations: 159.1 kB / 1.452 GB, free: 5.242 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/1.297, allocations: 121.3 kB / 1.453 GB, free: 5.121 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/1.309, allocations: 3.853 MB / 1.456 GB, free: 1.117 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/1.309, allocations: 38.8 kB / 1.456 GB, free: 1.07 MB / 1.139 GB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/1.309, allocations: 0 / 1.456 GB, free: 1.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=40): time 0.09036/1.399, allocations: 30.62 MB / 1.486 GB, free: 2.418 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.4, allocations: 140.5 kB / 1.486 GB, free: 2.25 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006428/1.4, allocations: 461.8 kB / 1.487 GB, free: 1.793 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/1.4, allocations: 33.7 kB / 1.487 GB, free: 1.754 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/1.401, allocations: 308.2 kB / 1.487 GB, free: 1.445 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/1.401, allocations: 154.7 kB / 1.487 GB, free: 1.293 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/1.401, allocations: 102.2 kB / 1.487 GB, free: 1.188 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.401, allocations: 366.8 kB / 1.488 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/1.402, allocations: 177 kB / 1.488 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/1.402, allocations: 361.1 kB / 1.488 GB, free: 228 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/1.403, allocations: 0.5147 MB / 1.489 GB, free: 15.65 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.403, allocations: 0 / 1.489 GB, free: 15.65 MB / 1.186 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001942/1.405, allocations: 0.6974 MB / 1.489 GB, free: 14.94 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.405, allocations: 6.562 kB / 1.489 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.405, allocations: 12 kB / 1.489 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/1.406, allocations: 121.7 kB / 1.49 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/1.406, allocations: 111.8 kB / 1.49 GB, free: 14.69 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/1.41, allocations: 3.406 MB / 1.493 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/1.411, allocations: 31.97 kB / 1.493 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/1.411, allocations: 20 kB / 1.493 GB, free: 10.95 MB / 1.186 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.0003879/1.411, allocations: 200.1 kB / 1.493 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/1.412, allocations: 63.7 kB / 1.493 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/1.413, allocations: 0.649 MB / 1.494 GB, free: 10.01 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.413, allocations: 8.031 kB / 1.494 GB, free: 10 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.413, allocations: 3.984 kB / 1.494 GB, free: 10 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.413, allocations: 0 / 1.494 GB, free: 10 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/1.416, allocations: 1.195 MB / 1.495 GB, free: 8.695 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.416, allocations: 4.5 kB / 1.495 GB, free: 8.691 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/1.416, allocations: 75.83 kB / 1.495 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/1.416, allocations: 64.81 kB / 1.495 GB, free: 8.551 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/1.416, allocations: 12 kB / 1.495 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/1.419, allocations: 1.736 MB / 1.497 GB, free: 6.668 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/1.419, allocations: 7.938 kB / 1.497 GB, free: 6.66 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/1.42, allocations: 0.7252 MB / 1.498 GB, free: 5.867 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/1.42, allocations: 124.8 kB / 1.498 GB, free: 5.727 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/1.421, allocations: 19.92 kB / 1.498 GB, free: 5.707 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/1.421, allocations: 24.12 kB / 1.498 GB, free: 5.684 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/1.421, allocations: 39.89 kB / 1.498 GB, free: 5.645 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/1.421, allocations: 16 kB / 1.498 GB, free: 5.629 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005039/1.422, allocations: 358.8 kB / 1.498 GB, free: 5.277 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.124e-06/1.422, allocations: 0 / 1.498 GB, free: 5.277 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002032/1.424, allocations: 0.5617 MB / 1.499 GB, free: 4.715 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.00234/1.426, allocations: 0.5722 MB / 1.499 GB, free: 4.141 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.428, allocations: 0.6702 MB / 1.5 GB, free: 3.445 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.428, allocations: 0 / 1.5 GB, free: 3.445 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/1.429, allocations: 282.4 kB / 1.5 GB, free: 3.156 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.43, allocations: 298.5 kB / 1.501 GB, free: 2.871 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/1.433, allocations: 1.179 MB / 1.502 GB, free: 1.605 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/1.433, allocations: 0.8628 MB / 1.503 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/1.433, allocations: 55.42 kB / 1.503 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of SimCode: time 5.71e-07/1.433, allocations: 0 / 1.503 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of Templates: time 0.03349/1.467, allocations: 19.72 MB / 1.522 GB, free: 13.06 MB / 1.217 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.709186491090804]