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.001823/0.001823, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002347/0.002347, allocations: 219.3 kB / 22.26 MB, free: 5.125 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.965 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.722/2.722, allocations: 476.8 MB / 0.7707 GB, free: 4.266 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_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.002035/0.002035, allocations: 69 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.279, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1847/0.4637, allocations: 166.9 MB / 1.446 GB, free: 4.148 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.4752, allocations: 8.21 MB / 1.454 GB, free: 11.91 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007062/0.4759, allocations: 19.88 kB / 1.454 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.4771, allocations: 353.8 kB / 1.455 GB, free: 11.55 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.4792, allocations: 0.7618 MB / 1.456 GB, free: 10.79 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005304/0.4845, allocations: 2.171 MB / 1.458 GB, free: 8.617 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.4865, allocations: 1.384 MB / 1.459 GB, free: 7.223 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007273/0.4872, allocations: 370 kB / 1.459 GB, free: 6.855 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.4906, allocations: 1.498 MB / 1.461 GB, free: 5.352 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009133/0.4916, allocations: 466.1 kB / 1.461 GB, free: 4.895 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.4917, allocations: 52 kB / 1.461 GB, free: 4.844 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007372/0.4991, allocations: 3.644 MB / 1.465 GB, free: 1.195 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.4994, allocations: 159.4 kB / 1.465 GB, free: 1.039 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006117/0.5, allocations: 346.4 kB / 1.465 GB, free: 0.6992 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.5051, allocations: 2.572 MB / 1.468 GB, free: 14.12 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.5051, allocations: 0 / 1.468 GB, free: 14.12 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5051, allocations: 0 / 1.468 GB, free: 14.12 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.805e-05/0.5051, allocations: 0 / 1.468 GB, free: 14.12 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.002666/0.5078, allocations: 0.9717 MB / 1.469 GB, free: 13.12 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5078, allocations: 8.031 kB / 1.469 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.508, allocations: 98.52 kB / 1.469 GB, free: 13 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.5092, allocations: 139.5 kB / 1.469 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008395/0.5101, allocations: 367.3 kB / 1.469 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.5101, allocations: 41.31 kB / 1.469 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/0.5102, allocations: 51.95 kB / 1.469 GB, free: 12.39 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5114, allocations: 0.6603 MB / 1.47 GB, free: 11.68 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.5115, allocations: 7.984 kB / 1.47 GB, free: 11.68 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.5115, allocations: 24 kB / 1.47 GB, free: 11.65 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.5115, allocations: 12 kB / 1.47 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5126, allocations: 471.5 kB / 1.471 GB, free: 11.18 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.01579/0.5284, allocations: 5.974 MB / 1.476 GB, free: 5.047 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.5288, allocations: 151.1 kB / 1.477 GB, free: 4.891 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.5291, allocations: 113.3 kB / 1.477 GB, free: 4.777 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/0.5403, allocations: 3.262 MB / 1.48 GB, free: 1.512 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.5403, allocations: 42.73 kB / 1.48 GB, free: 1.461 MB / 1.17 GB Notification: Performance of pre-optimization done (n=27): time 1.943e-06/0.5403, allocations: 0 / 1.48 GB, free: 1.461 MB / 1.17 GB Notification: Performance of matching and sorting (n=40): time 0.08092/0.6212, allocations: 30.54 MB / 1.51 GB, free: 2.902 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.6213, allocations: 140.4 kB / 1.51 GB, free: 2.734 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.6219, allocations: 465.8 kB / 1.51 GB, free: 2.273 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.6219, allocations: 29.7 kB / 1.51 GB, free: 2.238 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.6222, allocations: 316.1 kB / 1.511 GB, free: 1.926 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.6223, allocations: 150.7 kB / 1.511 GB, free: 1.777 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.6225, allocations: 102.3 kB / 1.511 GB, free: 1.672 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6226, allocations: 358.8 kB / 1.511 GB, free: 1.312 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.6231, allocations: 181.2 kB / 1.511 GB, free: 1.137 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.6236, allocations: 358.1 kB / 1.512 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/0.6246, allocations: 0.5209 MB / 1.512 GB, free: 140 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6246, allocations: 0 / 1.512 GB, free: 140 kB / 1.201 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001773/0.6264, allocations: 0.6935 MB / 1.513 GB, free: 15.43 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.6264, allocations: 8 kB / 1.513 GB, free: 15.42 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6264, allocations: 8.469 kB / 1.513 GB, free: 15.41 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004799/0.6269, allocations: 121.6 kB / 1.513 GB, free: 15.29 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.6273, allocations: 111.8 kB / 1.513 GB, free: 15.18 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/0.6306, allocations: 3.214 MB / 1.516 GB, free: 11.74 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.6312, allocations: 31.97 kB / 1.516 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.6313, allocations: 23.98 kB / 1.516 GB, free: 11.68 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.0003158/0.6316, allocations: 193.6 kB / 1.517 GB, free: 11.48 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.6318, allocations: 59.61 kB / 1.517 GB, free: 11.43 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.6333, allocations: 0.6528 MB / 1.517 GB, free: 10.75 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.6333, allocations: 4 kB / 1.517 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6333, allocations: 0 / 1.517 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6333, allocations: 3.984 kB / 1.517 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.6356, allocations: 1.174 MB / 1.518 GB, free: 9.465 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.6356, allocations: 4 kB / 1.518 GB, free: 9.461 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.6359, allocations: 68.41 kB / 1.518 GB, free: 9.395 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.6362, allocations: 76.73 kB / 1.519 GB, free: 9.316 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.6362, allocations: 12.06 kB / 1.519 GB, free: 9.305 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.638, allocations: 1.629 MB / 1.52 GB, free: 7.562 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.638, allocations: 8 kB / 1.52 GB, free: 7.555 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.6395, allocations: 0.7246 MB / 1.521 GB, free: 6.762 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.6397, allocations: 51.7 kB / 1.521 GB, free: 6.711 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.6398, allocations: 8 kB / 1.521 GB, free: 6.703 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.6401, allocations: 23.92 kB / 1.521 GB, free: 6.68 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.6402, allocations: 39.89 kB / 1.521 GB, free: 6.641 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.6403, allocations: 19.98 kB / 1.521 GB, free: 6.621 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004607/0.6407, allocations: 354.9 kB / 1.521 GB, free: 6.273 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6407, allocations: 0 / 1.521 GB, free: 6.273 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001643/0.6424, allocations: 0.5656 MB / 1.522 GB, free: 5.707 MB / 1.217 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.003895/0.6463, allocations: 1.725 MB / 1.524 GB, free: 3.906 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.6478, allocations: 0.631 MB / 1.524 GB, free: 3.25 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.6478, allocations: 4 kB / 1.524 GB, free: 3.246 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005577/0.6484, allocations: 287.2 kB / 1.524 GB, free: 2.953 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.6499, allocations: 310 kB / 1.525 GB, free: 2.652 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008989/0.6589, allocations: 5.354 MB / 1.53 GB, free: 13 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.6594, allocations: 0.8629 MB / 1.531 GB, free: 12.11 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005062/0.6599, allocations: 116.6 kB / 1.531 GB, free: 12 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.6602, allocations: 187.4 kB / 1.531 GB, free: 11.82 MB / 1.232 GB Notification: Performance of SimCode: time 1.102e-06/0.6602, allocations: 0 / 1.531 GB, free: 11.82 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0752/0.7354, allocations: 29.07 MB / 1.56 GB, free: 15.12 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.39, allocations: 4 kB / 1.56 GB, free: 15.11 MB / 1.264 GB " [Timeout remaining time 284] (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: 22.57692549400963]