Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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.0008005/0.0008005, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001069/0.001069, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8511/0.8511, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.613/1.613, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.039e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.5429/0.543, allocations: 143.8 MB / 1.091 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007007/0.55, allocations: 8.176 MB / 1.099 GB, free: 37.67 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000468/0.5504, allocations: 22.28 kB / 1.099 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007999/0.5512, allocations: 338.7 kB / 1.099 GB, free: 37.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.5536, allocations: 1.15 MB / 1.1 GB, free: 37.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004217/0.5579, allocations: 2.189 MB / 1.102 GB, free: 36.65 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.5596, allocations: 1.403 MB / 1.104 GB, free: 36.01 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.5601, allocations: 362.7 kB / 1.104 GB, free: 35.88 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.564, allocations: 2.42 MB / 1.107 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.5656, allocations: 1.21 MB / 1.108 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.5657, allocations: 51.97 kB / 1.108 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.5702, allocations: 2.802 MB / 1.111 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.5704, allocations: 158.8 kB / 1.111 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.5706, allocations: 250.8 kB / 1.111 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.5745, allocations: 2.662 MB / 1.114 GB, free: 33 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5745, allocations: 3.469 kB / 1.114 GB, free: 33 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5745, allocations: 0 / 1.114 GB, free: 33 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5745, allocations: 1.031 kB / 1.114 GB, free: 33 MB / 0.9948 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.001788/0.5763, allocations: 0.9439 MB / 1.114 GB, free: 32.38 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5763, allocations: 10.09 kB / 1.114 GB, free: 32.38 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.614e-05/0.5764, allocations: 98.38 kB / 1.115 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006249/0.577, allocations: 148 kB / 1.115 GB, free: 32.25 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.5776, allocations: 372.2 kB / 1.115 GB, free: 32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.5776, allocations: 38.88 kB / 1.115 GB, free: 31.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.5777, allocations: 54.81 kB / 1.115 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.5785, allocations: 0.9884 MB / 1.116 GB, free: 31.21 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5786, allocations: 6.156 kB / 1.116 GB, free: 31.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.5786, allocations: 22.47 kB / 1.116 GB, free: 31.19 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.5786, allocations: 13.66 kB / 1.116 GB, free: 31.19 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.5793, allocations: 493.8 kB / 1.117 GB, free: 31.04 MB / 0.9948 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.001904/0.5812, allocations: 2.262 MB / 1.119 GB, free: 29.35 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.5816, allocations: 260.4 kB / 1.119 GB, free: 29.24 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.5818, allocations: 154.1 kB / 1.119 GB, free: 29.18 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009895/0.5917, allocations: 4.934 MB / 1.124 GB, free: 28.64 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.5917, allocations: 38.95 kB / 1.124 GB, free: 28.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=36): time 1.773e-06/0.5917, allocations: 0 / 1.124 GB, free: 28.6 MB / 0.9948 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.0477/0.6395, allocations: 31.66 MB / 1.155 GB, free: 24.55 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.6395, allocations: 133.9 kB / 1.155 GB, free: 24.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.6398, allocations: 381 kB / 1.155 GB, free: 24.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.6398, allocations: 35.98 kB / 1.155 GB, free: 24.17 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.6399, allocations: 298.8 kB / 1.156 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.64, allocations: 191.4 kB / 1.156 GB, free: 23.78 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6401, allocations: 111.6 kB / 1.156 GB, free: 23.72 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.6402, allocations: 355.8 kB / 1.156 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.6405, allocations: 233.6 kB / 1.157 GB, free: 23.31 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.6408, allocations: 454.3 kB / 1.157 GB, free: 22.98 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.6414, allocations: 0.5963 MB / 1.158 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6414, allocations: 1.875 kB / 1.158 GB, free: 22.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001042/0.6425, allocations: 0.796 MB / 1.158 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6425, allocations: 7.938 kB / 1.158 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6425, allocations: 2.625 kB / 1.158 GB, free: 22.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.6428, allocations: 128.5 kB / 1.159 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.6431, allocations: 136.7 kB / 1.159 GB, free: 22.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.6446, allocations: 3.194 MB / 1.162 GB, free: 19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.6449, allocations: 32.03 kB / 1.162 GB, free: 18.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.645, allocations: 34.92 kB / 1.162 GB, free: 18.96 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * 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.0001901/0.6451, allocations: 194.1 kB / 1.162 GB, free: 18.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.6452, allocations: 54.2 kB / 1.162 GB, free: 18.77 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009965/0.6462, allocations: 0.7979 MB / 1.163 GB, free: 18.26 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6462, allocations: 8.375 kB / 1.163 GB, free: 18.26 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.6462, allocations: 0 / 1.163 GB, free: 18.26 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6462, allocations: 3.984 kB / 1.163 GB, free: 18.25 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.6479, allocations: 1.494 MB / 1.164 GB, free: 17.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6479, allocations: 3.094 kB / 1.164 GB, free: 17.22 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.6481, allocations: 105.6 kB / 1.164 GB, free: 17.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/0.6483, allocations: 74.77 kB / 1.165 GB, free: 17.15 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.6483, allocations: 12.47 kB / 1.165 GB, free: 17.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007504/0.649, allocations: 1.663 MB / 1.166 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.649, allocations: 8.844 kB / 1.166 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.6501, allocations: 1.02 MB / 1.167 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.6502, allocations: 58.2 kB / 1.167 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.6502, allocations: 18.12 kB / 1.167 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.6504, allocations: 32.12 kB / 1.167 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.6505, allocations: 47.44 kB / 1.167 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.6505, allocations: 24.08 kB / 1.167 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002376/0.6508, allocations: 357.7 kB / 1.168 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6508, allocations: 0 / 1.168 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004655/0.6554, allocations: 1.39 MB / 1.169 GB, free: 14.46 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (48): * Single equations (assignments): 47 * 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.006306/0.6617, allocations: 2.3 MB / 1.171 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.6629, allocations: 0.7794 MB / 1.172 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6629, allocations: 2.625 kB / 1.172 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.6632, allocations: 377.5 kB / 1.172 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.6641, allocations: 343.6 kB / 1.173 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006083/0.6702, allocations: 5.759 MB / 1.178 GB, free: 8.34 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.6704, allocations: 280 kB / 1.179 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004025/0.6708, allocations: 144.4 kB / 1.179 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.671, allocations: 214.1 kB / 1.179 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of SimCode: time 1.092e-06/0.671, allocations: 0 / 1.179 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08538/0.7564, allocations: 71.88 MB / 1.249 GB, free: 2.062 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.471/10.23, allocations: 2.922 kB / 1.249 GB, free: 2.062 MB / 1.057 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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: 18.237818146124482]