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.001302/0.001302, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00151/0.00151, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 8 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.087/3.087, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",version="2.0",platforms={"static"}) [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.001936/0.001936, allocations: 82.22 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3179, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1832/0.5011, allocations: 166.9 MB / 1.508 GB, free: 8.926 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.5122, allocations: 8.194 MB / 1.516 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.5128, allocations: 23.81 kB / 1.516 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009644/0.5138, allocations: 357.8 kB / 1.517 GB, free: 336 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.5158, allocations: 0.759 MB / 1.517 GB, free: 15.57 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005052/0.5208, allocations: 2.166 MB / 1.52 GB, free: 13.41 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.5227, allocations: 1.387 MB / 1.521 GB, free: 12.01 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.5233, allocations: 370 kB / 1.521 GB, free: 11.65 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.527, allocations: 1.51 MB / 1.523 GB, free: 10.13 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009768/0.528, allocations: 466.1 kB / 1.523 GB, free: 9.676 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.5281, allocations: 52 kB / 1.523 GB, free: 9.625 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007139/0.5352, allocations: 3.644 MB / 1.527 GB, free: 5.977 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.5356, allocations: 155.4 kB / 1.527 GB, free: 5.824 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006572/0.5362, allocations: 342.5 kB / 1.527 GB, free: 5.488 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.5417, allocations: 2.579 MB / 1.53 GB, free: 2.902 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5417, allocations: 0 / 1.53 GB, free: 2.902 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5417, allocations: 0 / 1.53 GB, free: 2.902 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.5417, allocations: 0 / 1.53 GB, free: 2.902 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.002396/0.5441, allocations: 0.9717 MB / 1.531 GB, free: 1.898 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5441, allocations: 8.031 kB / 1.531 GB, free: 1.891 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.322e-05/0.5442, allocations: 17.31 kB / 1.531 GB, free: 1.871 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.5443, allocations: 90.52 kB / 1.531 GB, free: 1.773 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.5454, allocations: 143.5 kB / 1.531 GB, free: 1.633 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.5462, allocations: 363.3 kB / 1.531 GB, free: 1.254 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.5462, allocations: 49.31 kB / 1.531 GB, free: 1.207 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.868e-05/0.5463, allocations: 51.98 kB / 1.531 GB, free: 1.156 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.5475, allocations: 0.6603 MB / 1.532 GB, free: 456 kB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.5475, allocations: 0 / 1.532 GB, free: 456 kB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.5476, allocations: 24 kB / 1.532 GB, free: 432 kB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.5476, allocations: 15.94 kB / 1.532 GB, free: 416 kB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.5487, allocations: 475.5 kB / 1.533 GB, free: 15.94 MB / 1.232 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.01655/0.5652, allocations: 5.97 MB / 1.538 GB, free: 9.812 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.5657, allocations: 159.1 kB / 1.539 GB, free: 9.648 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.5659, allocations: 117.3 kB / 1.539 GB, free: 9.531 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.5778, allocations: 3.25 MB / 1.542 GB, free: 6.277 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.5778, allocations: 42.78 kB / 1.542 GB, free: 6.227 MB / 1.232 GB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/0.5778, allocations: 0 / 1.542 GB, free: 6.227 MB / 1.232 GB Notification: Performance of matching and sorting (n=40): time 0.08657/0.6644, allocations: 30.54 MB / 1.572 GB, free: 7.668 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/0.6645, allocations: 148.4 kB / 1.572 GB, free: 7.492 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.665, allocations: 457.8 kB / 1.572 GB, free: 7.039 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.6651, allocations: 33.7 kB / 1.572 GB, free: 7 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.6653, allocations: 312.1 kB / 1.573 GB, free: 6.688 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.6654, allocations: 150.7 kB / 1.573 GB, free: 6.539 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.6656, allocations: 102.3 kB / 1.573 GB, free: 6.434 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6658, allocations: 362.8 kB / 1.573 GB, free: 6.07 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.6662, allocations: 185.2 kB / 1.573 GB, free: 5.891 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/0.6668, allocations: 354.1 kB / 1.574 GB, free: 5.473 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.6677, allocations: 0.5183 MB / 1.574 GB, free: 4.895 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6677, allocations: 3.938 kB / 1.574 GB, free: 4.891 MB / 1.264 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001833/0.6696, allocations: 0.6967 MB / 1.575 GB, free: 4.184 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.6696, allocations: 11.94 kB / 1.575 GB, free: 4.172 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6696, allocations: 4 kB / 1.575 GB, free: 4.168 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005011/0.6701, allocations: 113.6 kB / 1.575 GB, free: 4.051 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.6706, allocations: 124 kB / 1.575 GB, free: 3.93 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003229/0.6738, allocations: 3.195 MB / 1.578 GB, free: 0.5156 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.6743, allocations: 31.97 kB / 1.578 GB, free: 496 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.6744, allocations: 20 kB / 1.578 GB, free: 476 kB / 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.0002779/0.6747, allocations: 205.6 kB / 1.579 GB, free: 260 kB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.6749, allocations: 55.67 kB / 1.579 GB, free: 204 kB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.6764, allocations: 0.6497 MB / 1.579 GB, free: 15.52 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6764, allocations: 4 kB / 1.579 GB, free: 15.52 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6764, allocations: 4 kB / 1.579 GB, free: 15.52 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6764, allocations: 0 / 1.579 GB, free: 15.52 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.6786, allocations: 1.171 MB / 1.58 GB, free: 14.24 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.6786, allocations: 8.125 kB / 1.58 GB, free: 14.23 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.679, allocations: 67.89 kB / 1.58 GB, free: 14.17 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002629/0.6792, allocations: 68.84 kB / 1.58 GB, free: 14.1 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.6793, allocations: 12 kB / 1.581 GB, free: 14.09 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.6811, allocations: 1.641 MB / 1.582 GB, free: 12.33 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.6811, allocations: 12 kB / 1.582 GB, free: 12.32 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.6826, allocations: 0.7134 MB / 1.583 GB, free: 11.54 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.6828, allocations: 51.66 kB / 1.583 GB, free: 11.48 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.6829, allocations: 12 kB / 1.583 GB, free: 11.47 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.6833, allocations: 28.05 kB / 1.583 GB, free: 11.45 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.6833, allocations: 31.83 kB / 1.583 GB, free: 11.41 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.6834, allocations: 23.98 kB / 1.583 GB, free: 11.39 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0004658/0.6838, allocations: 354.8 kB / 1.583 GB, free: 11.04 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6838, allocations: 4 kB / 1.583 GB, free: 11.04 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001752/0.6856, allocations: 0.5734 MB / 1.584 GB, free: 10.46 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.003865/0.6895, allocations: 1.719 MB / 1.586 GB, free: 8.668 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.691, allocations: 0.6499 MB / 1.586 GB, free: 7.992 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.691, allocations: 0 / 1.586 GB, free: 7.992 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.6916, allocations: 279.1 kB / 1.586 GB, free: 7.707 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.6933, allocations: 320.3 kB / 1.587 GB, free: 7.406 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009206/0.7025, allocations: 5.344 MB / 1.592 GB, free: 1.75 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.703, allocations: 0.8589 MB / 1.593 GB, free: 0.8633 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0005069/0.7035, allocations: 118.8 kB / 1.593 GB, free: 0.75 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.7038, allocations: 191.4 kB / 1.593 GB, free: 0.5625 MB / 1.279 GB Notification: Performance of SimCode: time 7.12e-07/0.7038, allocations: 0 / 1.593 GB, free: 0.5625 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6346/1.338, allocations: 29.09 MB / 1.622 GB, free: 250.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/15.16, allocations: 9.125 kB / 1.622 GB, free: 250.3 MB / 1.295 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 840.0] 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: 21.838946648989804]