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.000936/0.000936, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0009274/0.0009274, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9136/0.9136, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.747/1.747, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] 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.142e-06/1.142e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.089e-05, allocations: 9.312 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.6293/0.6293, allocations: 144.2 MB / 1.123 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007669/0.637, allocations: 7.492 MB / 1.13 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004539/0.6374, allocations: 21.97 kB / 1.13 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009171/0.6383, allocations: 338.1 kB / 1.131 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.6399, allocations: 0.7704 MB / 1.131 GB, free: 10 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005248/0.6451, allocations: 2.195 MB / 1.134 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.6466, allocations: 1.394 MB / 1.135 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005192/0.6471, allocations: 357 kB / 1.135 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003032/0.6501, allocations: 1.685 MB / 1.137 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005817/0.6507, allocations: 395.9 kB / 1.137 GB, free: 7.402 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/0.6508, allocations: 54.86 kB / 1.137 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006989/0.6578, allocations: 3.514 MB / 1.141 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.658, allocations: 161.8 kB / 1.141 GB, free: 6.547 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.6584, allocations: 250.1 kB / 1.141 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.005829/0.6642, allocations: 3.139 MB / 1.144 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6642, allocations: 0 / 1.144 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6642, allocations: 1.562 kB / 1.144 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.355e-05/0.6642, allocations: 0.7031 kB / 1.144 GB, free: 5.551 MB / 0.9948 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.002469/0.6667, allocations: 0.9539 MB / 1.145 GB, free: 4.926 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6668, allocations: 8.969 kB / 1.145 GB, free: 4.926 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006654/0.6674, allocations: 139.5 kB / 1.145 GB, free: 4.883 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.668, allocations: 370.9 kB / 1.146 GB, free: 4.617 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.668, allocations: 38.62 kB / 1.146 GB, free: 4.598 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.6681, allocations: 53.78 kB / 1.146 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009288/0.669, allocations: 0.981 MB / 1.147 GB, free: 3.828 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.669, allocations: 5.188 kB / 1.147 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.6691, allocations: 23.8 kB / 1.147 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.6691, allocations: 17.09 kB / 1.147 GB, free: 3.805 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.6698, allocations: 470.9 kB / 1.147 GB, free: 3.652 MB / 0.9948 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.009446/0.6793, allocations: 5.502 MB / 1.153 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.6796, allocations: 148.6 kB / 1.153 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.6797, allocations: 121.9 kB / 1.153 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006817/0.6866, allocations: 3.267 MB / 1.156 GB, free: 1.18 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.6866, allocations: 38.67 kB / 1.156 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.6866, allocations: 0 / 1.156 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40): time 0.04672/0.7333, allocations: 30.53 MB / 1.186 GB, free: 9.211 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.7334, allocations: 136.5 kB / 1.186 GB, free: 9.047 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/0.734, allocations: 361.5 kB / 1.186 GB, free: 8.684 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.734, allocations: 37.64 kB / 1.186 GB, free: 8.641 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.7341, allocations: 324.4 kB / 1.187 GB, free: 8.32 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.7342, allocations: 146.7 kB / 1.187 GB, free: 8.176 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.7343, allocations: 106.3 kB / 1.187 GB, free: 8.066 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.7344, allocations: 350.7 kB / 1.187 GB, free: 7.715 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.7347, allocations: 186.5 kB / 1.187 GB, free: 7.531 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.735, allocations: 427.3 kB / 1.188 GB, free: 7.027 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.7356, allocations: 0.5218 MB / 1.188 GB, free: 6.449 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7356, allocations: 0 / 1.188 GB, free: 6.449 MB / 1.01 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009784/0.7366, allocations: 0.6859 MB / 1.189 GB, free: 5.75 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.7366, allocations: 8 kB / 1.189 GB, free: 5.742 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7366, allocations: 4 kB / 1.189 GB, free: 5.738 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.7369, allocations: 117.6 kB / 1.189 GB, free: 5.617 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.7371, allocations: 116.2 kB / 1.189 GB, free: 5.504 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.7391, allocations: 3.16 MB / 1.192 GB, free: 2.148 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.7394, allocations: 30.7 kB / 1.192 GB, free: 2.121 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.7394, allocations: 31.98 kB / 1.192 GB, free: 2.09 MB / 1.01 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.0002/0.7396, allocations: 185.7 kB / 1.193 GB, free: 1.898 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.7397, allocations: 43.77 kB / 1.193 GB, free: 1.855 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.7408, allocations: 0.6506 MB / 1.193 GB, free: 1.172 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7408, allocations: 4 kB / 1.193 GB, free: 1.168 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.7408, allocations: 0 / 1.193 GB, free: 1.168 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.7408, allocations: 3.25 kB / 1.193 GB, free: 1.168 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.742, allocations: 1.039 MB / 1.194 GB, free: 40 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.742, allocations: 4 kB / 1.194 GB, free: 36 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.7422, allocations: 72.44 kB / 1.194 GB, free: 15.96 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.7423, allocations: 64.81 kB / 1.194 GB, free: 15.89 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.7424, allocations: 12 kB / 1.194 GB, free: 15.88 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009945/0.7434, allocations: 1.606 MB / 1.196 GB, free: 14.18 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.7434, allocations: 8 kB / 1.196 GB, free: 14.18 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000801/0.7442, allocations: 0.694 MB / 1.197 GB, free: 13.41 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.7442, allocations: 39.75 kB / 1.197 GB, free: 13.38 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.7442, allocations: 15.94 kB / 1.197 GB, free: 13.36 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.7444, allocations: 24.05 kB / 1.197 GB, free: 13.34 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.7445, allocations: 35.83 kB / 1.197 GB, free: 13.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.7445, allocations: 19.98 kB / 1.197 GB, free: 13.28 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001871/0.7447, allocations: 267.2 kB / 1.197 GB, free: 13.02 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.7447, allocations: 0 / 1.197 GB, free: 13.02 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002653/0.7473, allocations: 0.5625 MB / 1.198 GB, free: 12.46 MB / 1.026 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.001452/0.7488, allocations: 0.6085 MB / 1.198 GB, free: 11.84 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0008455/0.7496, allocations: 0.6343 MB / 1.199 GB, free: 11.18 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7496, allocations: 0 / 1.199 GB, free: 11.18 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.7499, allocations: 279.7 kB / 1.199 GB, free: 10.89 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006374/0.7506, allocations: 209 kB / 1.199 GB, free: 10.71 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.7521, allocations: 1.073 MB / 1.2 GB, free: 9.555 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.7522, allocations: 274.2 kB / 1.201 GB, free: 9.262 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.7523, allocations: 48.48 kB / 1.201 GB, free: 9.215 MB / 1.026 GB Notification: Performance of SimCode: time 6.41e-07/0.7523, allocations: 0 / 1.201 GB, free: 9.215 MB / 1.026 GB Notification: Performance of Templates: time 0.01539/0.7677, allocations: 18.93 MB / 1.219 GB, free: 6.383 MB / 1.042 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: 8.923177529126406]