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.001425/0.001425, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001506/0.001506, allocations: 216.6 kB / 22.99 MB, free: 4.945 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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 3.473/3.473, allocations: 0.5107 GB / 0.8166 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 62.91 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4397, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.2088/0.6485, allocations: 144.3 MB / 1.506 GB, free: 12.69 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.6617, allocations: 7.492 MB / 1.513 GB, free: 5.172 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009571/0.6627, allocations: 27.75 kB / 1.513 GB, free: 5.145 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.6641, allocations: 329.9 kB / 1.513 GB, free: 4.82 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.667, allocations: 0.7658 MB / 1.514 GB, free: 4.051 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006596/0.6735, allocations: 2.149 MB / 1.516 GB, free: 1.906 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.6759, allocations: 1.384 MB / 1.517 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.6766, allocations: 358.1 kB / 1.518 GB, free: 168 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/0.6808, allocations: 1.486 MB / 1.519 GB, free: 14.67 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008966/0.6817, allocations: 434.1 kB / 1.52 GB, free: 14.25 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.6818, allocations: 52 kB / 1.52 GB, free: 14.2 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007785/0.6896, allocations: 3.503 MB / 1.523 GB, free: 10.69 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.6899, allocations: 155.4 kB / 1.523 GB, free: 10.54 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005787/0.6905, allocations: 294.8 kB / 1.523 GB, free: 10.25 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005117/0.6956, allocations: 2.579 MB / 1.526 GB, free: 7.66 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.6956, allocations: 3.984 kB / 1.526 GB, free: 7.656 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6956, allocations: 4 kB / 1.526 GB, free: 7.652 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.6957, allocations: 0 / 1.526 GB, free: 7.652 MB / 1.217 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.002301/0.698, allocations: 0.96 MB / 1.527 GB, free: 6.66 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.698, allocations: 8.031 kB / 1.527 GB, free: 6.652 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.6991, allocations: 147.5 kB / 1.527 GB, free: 6.508 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.6999, allocations: 367.3 kB / 1.527 GB, free: 6.121 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.6999, allocations: 41.31 kB / 1.528 GB, free: 6.078 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.7, allocations: 48 kB / 1.528 GB, free: 6.031 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.7015, allocations: 0.9905 MB / 1.529 GB, free: 4.91 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.7015, allocations: 0 / 1.529 GB, free: 4.91 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.7016, allocations: 28 kB / 1.529 GB, free: 4.883 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.7016, allocations: 12 kB / 1.529 GB, free: 4.871 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.7026, allocations: 467.5 kB / 1.529 GB, free: 4.414 MB / 1.217 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.0162/0.7188, allocations: 5.517 MB / 1.534 GB, free: 14.82 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.7193, allocations: 151.1 kB / 1.535 GB, free: 14.66 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.7196, allocations: 117.3 kB / 1.535 GB, free: 14.54 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.7316, allocations: 3.266 MB / 1.538 GB, free: 11.27 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.7316, allocations: 38.8 kB / 1.538 GB, free: 11.23 MB / 1.232 GB Notification: Performance of pre-optimization done (n=27): time 2.515e-06/0.7316, allocations: 4 kB / 1.538 GB, free: 11.22 MB / 1.232 GB Notification: Performance of matching and sorting (n=40): time 0.08903/0.8206, allocations: 30.53 MB / 1.568 GB, free: 12.68 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.8208, allocations: 140.4 kB / 1.568 GB, free: 12.52 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.8213, allocations: 357.5 kB / 1.568 GB, free: 12.16 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.8213, allocations: 33.7 kB / 1.568 GB, free: 12.12 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.8216, allocations: 324.4 kB / 1.568 GB, free: 11.8 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.8218, allocations: 158.7 kB / 1.569 GB, free: 11.64 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.8219, allocations: 106.2 kB / 1.569 GB, free: 11.54 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002925/0.8222, allocations: 350.7 kB / 1.569 GB, free: 11.18 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.8227, allocations: 181.2 kB / 1.569 GB, free: 11 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000729/0.8234, allocations: 431.2 kB / 1.57 GB, free: 10.5 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.8244, allocations: 0.5203 MB / 1.57 GB, free: 9.918 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.8244, allocations: 4 kB / 1.57 GB, free: 9.914 MB / 1.264 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001795/0.8262, allocations: 0.6803 MB / 1.571 GB, free: 9.223 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.8262, allocations: 12.47 kB / 1.571 GB, free: 9.211 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8262, allocations: 4 kB / 1.571 GB, free: 9.207 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.8268, allocations: 121.6 kB / 1.571 GB, free: 9.082 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.8273, allocations: 115.8 kB / 1.571 GB, free: 8.969 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.8309, allocations: 3.149 MB / 1.574 GB, free: 5.621 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.8314, allocations: 28.2 kB / 1.574 GB, free: 5.594 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.8315, allocations: 27.98 kB / 1.574 GB, free: 5.566 MB / 1.264 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.0003548/0.8318, allocations: 194.7 kB / 1.574 GB, free: 5.367 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.8321, allocations: 43.77 kB / 1.574 GB, free: 5.324 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.8336, allocations: 0.6436 MB / 1.575 GB, free: 4.648 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.8337, allocations: 4 kB / 1.575 GB, free: 4.645 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.8337, allocations: 0 / 1.575 GB, free: 4.645 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.8337, allocations: 11.81 kB / 1.575 GB, free: 4.633 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.8359, allocations: 1.031 MB / 1.576 GB, free: 3.512 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.8359, allocations: 4 kB / 1.576 GB, free: 3.508 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.8363, allocations: 63.89 kB / 1.576 GB, free: 3.445 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.8366, allocations: 80.69 kB / 1.576 GB, free: 3.363 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.8366, allocations: 8 kB / 1.576 GB, free: 3.355 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.8386, allocations: 1.61 MB / 1.578 GB, free: 1.648 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.8386, allocations: 7.938 kB / 1.578 GB, free: 1.641 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.8401, allocations: 0.7173 MB / 1.579 GB, free: 0.8555 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.8402, allocations: 39.75 kB / 1.579 GB, free: 0.8164 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.8403, allocations: 12 kB / 1.579 GB, free: 0.8047 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.8407, allocations: 19.98 kB / 1.579 GB, free: 0.7852 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.8408, allocations: 35.83 kB / 1.579 GB, free: 0.75 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.8408, allocations: 23.98 kB / 1.579 GB, free: 0.7266 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004043/0.8412, allocations: 263.2 kB / 1.579 GB, free: 480 kB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8412, allocations: 64 / 1.579 GB, free: 480 kB / 1.264 GB Notification: Performance of remove unused functions: time 0.001994/0.8432, allocations: 0.5696 MB / 1.579 GB, free: 15.89 MB / 1.279 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.001989/0.8452, allocations: 0.5442 MB / 1.58 GB, free: 15.34 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.8468, allocations: 0.6429 MB / 1.581 GB, free: 14.68 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.8469, allocations: 8 kB / 1.581 GB, free: 14.67 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005826/0.8474, allocations: 272.1 kB / 1.581 GB, free: 14.39 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.8487, allocations: 208.6 kB / 1.581 GB, free: 14.19 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.8508, allocations: 1.16 MB / 1.582 GB, free: 12.95 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.8511, allocations: 266.4 kB / 1.582 GB, free: 12.66 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.8512, allocations: 47.42 kB / 1.583 GB, free: 12.62 MB / 1.279 GB Notification: Performance of SimCode: time 5.21e-07/0.8512, allocations: 0 / 1.583 GB, free: 12.62 MB / 1.279 GB Notification: Performance of Templates: time 0.03181/0.8831, allocations: 18.86 MB / 1.601 GB, free: 9.848 MB / 1.295 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/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: 15.594389023259282]