Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001587/0.001587, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.678/2.678, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_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.00194/0.00194, allocations: 71.83 kB / 1.118 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3142, allocations: 169.9 MB / 1.284 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.185/0.4992, allocations: 166.9 MB / 1.447 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.5104, allocations: 8.191 MB / 1.455 GB, free: 4.047 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006162/0.511, allocations: 23.81 kB / 1.455 GB, free: 4.023 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.512, allocations: 357.8 kB / 1.456 GB, free: 3.672 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.514, allocations: 0.7642 MB / 1.456 GB, free: 2.906 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005151/0.5192, allocations: 2.171 MB / 1.458 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.5212, allocations: 1.388 MB / 1.46 GB, free: 15.34 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007649/0.522, allocations: 370.1 kB / 1.46 GB, free: 14.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.5256, allocations: 1.502 MB / 1.462 GB, free: 13.47 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009647/0.5265, allocations: 462.1 kB / 1.462 GB, free: 13.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.5267, allocations: 52 kB / 1.462 GB, free: 12.96 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008187/0.5349, allocations: 3.644 MB / 1.466 GB, free: 9.316 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.5353, allocations: 159.4 kB / 1.466 GB, free: 9.16 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007793/0.5361, allocations: 342.5 kB / 1.466 GB, free: 8.824 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006054/0.5421, allocations: 2.579 MB / 1.469 GB, free: 6.238 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5421, allocations: 0 / 1.469 GB, free: 6.238 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5421, allocations: 3.938 kB / 1.469 GB, free: 6.234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.5421, allocations: 0 / 1.469 GB, free: 6.234 MB / 1.17 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.002377/0.5445, allocations: 0.9678 MB / 1.47 GB, free: 5.234 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.5446, allocations: 12.03 kB / 1.47 GB, free: 5.223 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.723e-05/0.5446, allocations: 13.31 kB / 1.47 GB, free: 5.207 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.5447, allocations: 98.52 kB / 1.47 GB, free: 5.102 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.5459, allocations: 131.5 kB / 1.47 GB, free: 4.973 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007992/0.5467, allocations: 375.3 kB / 1.47 GB, free: 4.578 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.5467, allocations: 37.31 kB / 1.47 GB, free: 4.543 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.988e-05/0.5468, allocations: 56 kB / 1.47 GB, free: 4.488 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.548, allocations: 0.654 MB / 1.471 GB, free: 3.785 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.548, allocations: 7.891 kB / 1.471 GB, free: 3.777 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.5481, allocations: 28 kB / 1.471 GB, free: 3.75 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.5481, allocations: 16 kB / 1.471 GB, free: 3.734 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5491, allocations: 467.5 kB / 1.471 GB, free: 3.277 MB / 1.17 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.01623/0.5653, allocations: 5.978 MB / 1.477 GB, free: 13.14 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.5658, allocations: 151.2 kB / 1.477 GB, free: 12.98 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.5661, allocations: 117.3 kB / 1.477 GB, free: 12.87 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.5779, allocations: 3.254 MB / 1.481 GB, free: 9.609 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.5779, allocations: 38.8 kB / 1.481 GB, free: 9.562 MB / 1.186 GB Notification: Performance of pre-optimization done (n=27): time 2.545e-06/0.5779, allocations: 0 / 1.481 GB, free: 9.562 MB / 1.186 GB Notification: Performance of matching and sorting (n=40): time 0.08564/0.6636, allocations: 30.55 MB / 1.511 GB, free: 11 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.6637, allocations: 144.3 kB / 1.511 GB, free: 10.82 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005818/0.6643, allocations: 457.8 kB / 1.511 GB, free: 10.37 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.6643, allocations: 37.69 kB / 1.511 GB, free: 10.33 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.6645, allocations: 312.2 kB / 1.511 GB, free: 10.02 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.6647, allocations: 150.7 kB / 1.512 GB, free: 9.867 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.6648, allocations: 110.2 kB / 1.512 GB, free: 9.754 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.665, allocations: 358.8 kB / 1.512 GB, free: 9.395 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.6654, allocations: 181.2 kB / 1.512 GB, free: 9.219 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/0.666, allocations: 350.2 kB / 1.513 GB, free: 8.805 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.667, allocations: 0.5224 MB / 1.513 GB, free: 8.223 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.667, allocations: 4 kB / 1.513 GB, free: 8.219 MB / 1.217 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001783/0.6687, allocations: 0.6953 MB / 1.514 GB, free: 7.512 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6688, allocations: 4.531 kB / 1.514 GB, free: 7.508 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.6688, allocations: 8 kB / 1.514 GB, free: 7.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/0.6693, allocations: 125.5 kB / 1.514 GB, free: 7.371 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.6697, allocations: 107.9 kB / 1.514 GB, free: 7.266 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.673, allocations: 3.21 MB / 1.517 GB, free: 3.832 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.6736, allocations: 27.98 kB / 1.517 GB, free: 3.805 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.6736, allocations: 23.98 kB / 1.517 GB, free: 3.781 MB / 1.217 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.0002888/0.6739, allocations: 193.7 kB / 1.517 GB, free: 3.582 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.6741, allocations: 67.67 kB / 1.517 GB, free: 3.516 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.6756, allocations: 0.649 MB / 1.518 GB, free: 2.84 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.6756, allocations: 4 kB / 1.518 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.6756, allocations: 0 / 1.518 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.6757, allocations: 3.984 kB / 1.518 GB, free: 2.832 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.6779, allocations: 1.171 MB / 1.519 GB, free: 1.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6779, allocations: 4.047 kB / 1.519 GB, free: 1.555 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.6783, allocations: 71.91 kB / 1.519 GB, free: 1.484 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.6785, allocations: 68.8 kB / 1.519 GB, free: 1.414 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.6786, allocations: 12 kB / 1.519 GB, free: 1.402 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.6803, allocations: 1.633 MB / 1.521 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6803, allocations: 4 kB / 1.521 GB, free: 15.65 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.6818, allocations: 0.7246 MB / 1.522 GB, free: 14.86 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.682, allocations: 47.7 kB / 1.522 GB, free: 14.81 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.6821, allocations: 15.98 kB / 1.522 GB, free: 14.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.6824, allocations: 19.98 kB / 1.522 GB, free: 14.78 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.6825, allocations: 43.89 kB / 1.522 GB, free: 14.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.6826, allocations: 12 kB / 1.522 GB, free: 14.72 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004735/0.683, allocations: 358.8 kB / 1.522 GB, free: 14.37 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.683, allocations: 0 / 1.522 GB, free: 14.37 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001818/0.6849, allocations: 0.5695 MB / 1.523 GB, free: 13.8 MB / 1.232 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.003799/0.6887, allocations: 1.724 MB / 1.524 GB, free: 12 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.6903, allocations: 0.6349 MB / 1.525 GB, free: 11.34 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6903, allocations: 0 / 1.525 GB, free: 11.34 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.6909, allocations: 291.2 kB / 1.525 GB, free: 11.04 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.6924, allocations: 305.6 kB / 1.526 GB, free: 10.75 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/0.7017, allocations: 5.347 MB / 1.531 GB, free: 5.09 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.7022, allocations: 0.8667 MB / 1.532 GB, free: 4.195 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005005/0.7027, allocations: 115.1 kB / 1.532 GB, free: 4.09 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.703, allocations: 187.4 kB / 1.532 GB, free: 3.906 MB / 1.232 GB Notification: Performance of SimCode: time 9.32e-07/0.703, allocations: 0 / 1.532 GB, free: 3.906 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06712/0.7701, allocations: 29.1 MB / 1.56 GB, free: 7.199 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.54, allocations: 11 kB / 1.56 GB, free: 7.191 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.59930689795874]