Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007783/0.0007783, 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.0007665/0.0007665, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8137/0.8137, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.694/1.694, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.469e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.5368/0.5369, allocations: 143.7 MB / 1.14 GB, free: 10.29 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008819/0.5457, allocations: 8.184 MB / 1.148 GB, free: 5.219 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007248/0.5464, allocations: 26.59 kB / 1.148 GB, free: 5.203 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008996/0.5473, allocations: 341.7 kB / 1.148 GB, free: 5.02 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.5502, allocations: 1.158 MB / 1.149 GB, free: 4.453 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005648/0.5558, allocations: 2.178 MB / 1.152 GB, free: 3.598 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002189/0.558, allocations: 1.402 MB / 1.153 GB, free: 2.914 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.5587, allocations: 360.7 kB / 1.153 GB, free: 2.754 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005187/0.5639, allocations: 2.412 MB / 1.156 GB, free: 1.625 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.566, allocations: 1.219 MB / 1.157 GB, free: 1.055 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.5661, allocations: 51.38 kB / 1.157 GB, free: 1.055 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004958/0.571, allocations: 2.799 MB / 1.16 GB, free: 456 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.5712, allocations: 157.9 kB / 1.16 GB, free: 360 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.5717, allocations: 254.8 kB / 1.16 GB, free: 264 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004553/0.5762, allocations: 2.656 MB / 1.163 GB, free: 15.48 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5762, allocations: 0 / 1.163 GB, free: 15.48 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5762, allocations: 4 kB / 1.163 GB, free: 15.48 MB / 1.026 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.5762, allocations: 0 / 1.163 GB, free: 15.48 MB / 1.026 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.002149/0.5784, allocations: 0.9486 MB / 1.164 GB, free: 14.85 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5784, allocations: 9.5 kB / 1.164 GB, free: 14.85 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.783e-05/0.5785, allocations: 94.94 kB / 1.164 GB, free: 14.78 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.5791, allocations: 151.7 kB / 1.164 GB, free: 14.73 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.5797, allocations: 370.4 kB / 1.164 GB, free: 14.46 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.5797, allocations: 37.53 kB / 1.164 GB, free: 14.45 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.5798, allocations: 55.52 kB / 1.164 GB, free: 14.43 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008953/0.5807, allocations: 0.9878 MB / 1.165 GB, free: 13.68 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5807, allocations: 1.594 kB / 1.165 GB, free: 13.68 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.5807, allocations: 30.81 kB / 1.165 GB, free: 13.66 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.5807, allocations: 13.53 kB / 1.165 GB, free: 13.66 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/0.5814, allocations: 489.6 kB / 1.166 GB, free: 13.5 MB / 1.026 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.002157/0.5836, allocations: 2.259 MB / 1.168 GB, free: 11.8 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.5839, allocations: 265.9 kB / 1.168 GB, free: 11.69 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.5842, allocations: 163.3 kB / 1.168 GB, free: 11.63 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009914/0.5941, allocations: 4.934 MB / 1.173 GB, free: 11.09 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5941, allocations: 38.75 kB / 1.173 GB, free: 11.04 MB / 1.026 GB Notification: Performance of pre-optimization done (n=36): time 3.236e-06/0.5941, allocations: 4 kB / 1.173 GB, free: 11.04 MB / 1.026 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.04716/0.6413, allocations: 31.67 MB / 1.204 GB, free: 10.49 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.6413, allocations: 137 kB / 1.204 GB, free: 10.33 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.6417, allocations: 377.5 kB / 1.205 GB, free: 9.949 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.6419, allocations: 37.7 kB / 1.205 GB, free: 9.906 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.6421, allocations: 300.8 kB / 1.205 GB, free: 9.609 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.6422, allocations: 186.3 kB / 1.205 GB, free: 9.426 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.6423, allocations: 114.3 kB / 1.205 GB, free: 9.309 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.6424, allocations: 354.8 kB / 1.206 GB, free: 8.953 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.6427, allocations: 237.2 kB / 1.206 GB, free: 8.723 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.6432, allocations: 454.6 kB / 1.206 GB, free: 8.207 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.6438, allocations: 0.5915 MB / 1.207 GB, free: 7.574 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6438, allocations: 0 / 1.207 GB, free: 7.574 MB / 1.042 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001153/0.645, allocations: 0.7836 MB / 1.208 GB, free: 6.773 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.645, allocations: 8.375 kB / 1.208 GB, free: 6.766 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.645, allocations: 8 kB / 1.208 GB, free: 6.758 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/0.6453, allocations: 121.6 kB / 1.208 GB, free: 6.633 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.6456, allocations: 135.7 kB / 1.208 GB, free: 6.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.6478, allocations: 3.21 MB / 1.211 GB, free: 3.066 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.6481, allocations: 36.19 kB / 1.211 GB, free: 3.031 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.6481, allocations: 27.98 kB / 1.211 GB, free: 3.004 MB / 1.042 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.0002413/0.6484, allocations: 193.6 kB / 1.211 GB, free: 2.805 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.6485, allocations: 55.61 kB / 1.211 GB, free: 2.75 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.6497, allocations: 0.7885 MB / 1.212 GB, free: 1.949 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6497, allocations: 7.984 kB / 1.212 GB, free: 1.941 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6498, allocations: 4 kB / 1.212 GB, free: 1.938 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6498, allocations: 3.938 kB / 1.212 GB, free: 1.934 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.6516, allocations: 1.483 MB / 1.214 GB, free: 368 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6516, allocations: 4 kB / 1.214 GB, free: 364 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.6519, allocations: 104.3 kB / 1.214 GB, free: 260 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/0.652, allocations: 76.83 kB / 1.214 GB, free: 180 kB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.6521, allocations: 16 kB / 1.214 GB, free: 164 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.6531, allocations: 1.661 MB / 1.215 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6531, allocations: 0 / 1.215 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.6543, allocations: 1.022 MB / 1.216 GB, free: 13.31 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/0.6544, allocations: 55.67 kB / 1.216 GB, free: 13.25 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.6545, allocations: 23.94 kB / 1.216 GB, free: 13.23 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.6547, allocations: 32.84 kB / 1.216 GB, free: 13.2 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.6548, allocations: 43.88 kB / 1.216 GB, free: 13.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.6548, allocations: 23.98 kB / 1.217 GB, free: 13.13 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002949/0.6551, allocations: 354.8 kB / 1.217 GB, free: 12.79 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.6551, allocations: 0 / 1.217 GB, free: 12.79 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004722/0.6598, allocations: 1.398 MB / 1.218 GB, free: 11.39 MB / 1.057 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.00841/0.6682, allocations: 2.293 MB / 1.22 GB, free: 9.031 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.6695, allocations: 0.7695 MB / 1.221 GB, free: 8.238 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6695, allocations: 4 kB / 1.221 GB, free: 8.234 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.6699, allocations: 382.9 kB / 1.222 GB, free: 7.848 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.671, allocations: 344.1 kB / 1.222 GB, free: 7.508 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00857/0.6796, allocations: 5.749 MB / 1.228 GB, free: 1.5 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.6797, allocations: 282.8 kB / 1.228 GB, free: 1.199 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0004514/0.6802, allocations: 151.1 kB / 1.228 GB, free: 1.062 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.6804, allocations: 216.4 kB / 1.228 GB, free: 0.8516 MB / 1.057 GB Notification: Performance of SimCode: time 1.353e-06/0.6804, allocations: 0 / 1.228 GB, free: 0.8516 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08599/0.7664, allocations: 71.85 MB / 1.298 GB, free: 9.914 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.808/9.574, allocations: 10.94 kB / 1.298 GB, free: 9.91 MB / 1.135 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.252533992752433]