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.001689/0.001689, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002484/0.002484, allocations: 215.6 kB / 22.26 MB, free: 5.082 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.023 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.201/3.201, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",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.002006/0.002006, allocations: 63.91 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3337, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1889/0.5225, allocations: 166.9 MB / 1.516 GB, free: 0.918 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.5345, allocations: 8.195 MB / 1.524 GB, free: 8.695 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.5351, allocations: 23.81 kB / 1.524 GB, free: 8.672 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.5363, allocations: 357.8 kB / 1.524 GB, free: 8.32 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.5387, allocations: 0.7619 MB / 1.525 GB, free: 7.555 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00548/0.5442, allocations: 2.156 MB / 1.527 GB, free: 5.402 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.5463, allocations: 1.384 MB / 1.528 GB, free: 4.012 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007514/0.5471, allocations: 370 kB / 1.529 GB, free: 3.645 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.5507, allocations: 1.51 MB / 1.53 GB, free: 2.129 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009617/0.5516, allocations: 458.2 kB / 1.531 GB, free: 1.68 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.5518, allocations: 51.94 kB / 1.531 GB, free: 1.629 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007551/0.5594, allocations: 3.644 MB / 1.534 GB, free: 13.98 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.5597, allocations: 159.4 kB / 1.534 GB, free: 13.82 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006912/0.5604, allocations: 346.5 kB / 1.535 GB, free: 13.48 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.5655, allocations: 2.571 MB / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5656, allocations: 0 / 1.537 GB, free: 10.91 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5656, allocations: 3.938 kB / 1.537 GB, free: 10.9 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.079e-05/0.5656, allocations: 4 kB / 1.537 GB, free: 10.9 MB / 1.232 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.002547/0.5681, allocations: 0.9678 MB / 1.538 GB, free: 9.898 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5682, allocations: 12.03 kB / 1.538 GB, free: 9.887 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.5683, allocations: 94.52 kB / 1.538 GB, free: 9.785 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.5696, allocations: 139.5 kB / 1.539 GB, free: 9.648 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.5704, allocations: 371.3 kB / 1.539 GB, free: 9.258 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.5704, allocations: 41.31 kB / 1.539 GB, free: 9.215 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.5705, allocations: 60 kB / 1.539 GB, free: 9.156 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.5718, allocations: 0.6537 MB / 1.54 GB, free: 8.457 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.5718, allocations: 4 kB / 1.54 GB, free: 8.453 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.5719, allocations: 27.98 kB / 1.54 GB, free: 8.426 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.5719, allocations: 16 kB / 1.54 GB, free: 8.41 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5729, allocations: 471.5 kB / 1.54 GB, free: 7.949 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.01609/0.589, allocations: 5.97 MB / 1.546 GB, free: 1.82 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.5895, allocations: 159.1 kB / 1.546 GB, free: 1.656 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.5898, allocations: 118.4 kB / 1.546 GB, free: 1.539 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/0.6012, allocations: 3.254 MB / 1.549 GB, free: 14.28 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.6012, allocations: 34.8 kB / 1.549 GB, free: 14.24 MB / 1.248 GB Notification: Performance of pre-optimization done (n=27): time 2.685e-06/0.6012, allocations: 0 / 1.549 GB, free: 14.24 MB / 1.248 GB Notification: Performance of matching and sorting (n=40): time 0.08275/0.684, allocations: 30.55 MB / 1.579 GB, free: 15.67 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.6841, allocations: 140.2 kB / 1.579 GB, free: 15.51 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/0.6847, allocations: 457.8 kB / 1.58 GB, free: 15.05 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.6848, allocations: 33.7 kB / 1.58 GB, free: 15.02 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.6851, allocations: 324.1 kB / 1.58 GB, free: 14.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.6852, allocations: 146.7 kB / 1.58 GB, free: 14.55 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.6854, allocations: 106.3 kB / 1.58 GB, free: 14.44 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.6856, allocations: 358.8 kB / 1.581 GB, free: 14.08 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.686, allocations: 177.2 kB / 1.581 GB, free: 13.91 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.6866, allocations: 358.1 kB / 1.581 GB, free: 13.49 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.6875, allocations: 0.5168 MB / 1.582 GB, free: 12.91 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6876, allocations: 4 kB / 1.582 GB, free: 12.91 MB / 1.279 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001777/0.6893, allocations: 0.7015 MB / 1.582 GB, free: 12.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.6894, allocations: 5.875 kB / 1.582 GB, free: 12.19 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.6894, allocations: 8 kB / 1.582 GB, free: 12.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/0.6899, allocations: 117.6 kB / 1.583 GB, free: 12.06 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.6903, allocations: 116.1 kB / 1.583 GB, free: 11.95 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.6936, allocations: 3.199 MB / 1.586 GB, free: 8.523 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.6942, allocations: 27.98 kB / 1.586 GB, free: 8.496 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.6942, allocations: 27.98 kB / 1.586 GB, free: 8.469 MB / 1.279 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.000294/0.6945, allocations: 206.3 kB / 1.586 GB, free: 8.258 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.6948, allocations: 55.67 kB / 1.586 GB, free: 8.203 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.6963, allocations: 0.6481 MB / 1.587 GB, free: 7.527 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6963, allocations: 4 kB / 1.587 GB, free: 7.523 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6963, allocations: 0 / 1.587 GB, free: 7.523 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6963, allocations: 3.984 kB / 1.587 GB, free: 7.52 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.6986, allocations: 1.171 MB / 1.588 GB, free: 6.246 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6986, allocations: 4 kB / 1.588 GB, free: 6.242 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.699, allocations: 63.89 kB / 1.588 GB, free: 6.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.6993, allocations: 64.81 kB / 1.588 GB, free: 6.113 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.6993, allocations: 15.98 kB / 1.588 GB, free: 6.098 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.7011, allocations: 1.641 MB / 1.59 GB, free: 4.344 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.7011, allocations: 7.938 kB / 1.59 GB, free: 4.336 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.7026, allocations: 0.7213 MB / 1.59 GB, free: 3.547 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.7027, allocations: 51.66 kB / 1.59 GB, free: 3.496 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.7028, allocations: 15.98 kB / 1.59 GB, free: 3.48 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.7033, allocations: 24.05 kB / 1.59 GB, free: 3.457 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.7033, allocations: 39.83 kB / 1.59 GB, free: 3.418 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.7034, allocations: 12 kB / 1.59 GB, free: 3.406 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0004762/0.7038, allocations: 358.8 kB / 1.591 GB, free: 3.055 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7038, allocations: 4 kB / 1.591 GB, free: 3.051 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001694/0.7055, allocations: 0.5695 MB / 1.591 GB, free: 2.48 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.003861/0.7094, allocations: 1.713 MB / 1.593 GB, free: 0.6914 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.711, allocations: 0.6536 MB / 1.594 GB, free: 12 kB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.711, allocations: 4 kB / 1.594 GB, free: 8 kB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.7116, allocations: 278.9 kB / 1.594 GB, free: 15.72 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.7132, allocations: 306.3 kB / 1.594 GB, free: 15.43 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.7234, allocations: 5.353 MB / 1.599 GB, free: 9.762 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.724, allocations: 0.8629 MB / 1.6 GB, free: 8.871 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000508/0.7245, allocations: 109.1 kB / 1.6 GB, free: 8.773 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.7248, allocations: 191.4 kB / 1.601 GB, free: 8.586 MB / 1.295 GB Notification: Performance of SimCode: time 6.11e-07/0.7248, allocations: 0 / 1.601 GB, free: 8.586 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6515/1.376, allocations: 29.07 MB / 1.629 GB, free: 237.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/15, allocations: 9.188 kB / 1.629 GB, free: 237.1 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.716959246899933]