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.001315/0.001315, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001733/0.001733, allocations: 214.3 kB / 22.25 MB, free: 5.117 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.793 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.138/3.138, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.002157/0.002157, allocations: 61.89 kB / 1.186 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3296, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1715/0.5012, allocations: 143.9 MB / 1.504 GB, free: 13.69 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.5128, allocations: 8.175 MB / 1.512 GB, free: 5.488 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.5135, allocations: 19.81 kB / 1.512 GB, free: 5.469 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.5146, allocations: 333.8 kB / 1.512 GB, free: 5.141 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.5175, allocations: 1.134 MB / 1.513 GB, free: 4.004 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005496/0.523, allocations: 2.152 MB / 1.515 GB, free: 1.859 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.5251, allocations: 1.395 MB / 1.517 GB, free: 472 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007044/0.5258, allocations: 350.2 kB / 1.517 GB, free: 116 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005761/0.5316, allocations: 2.202 MB / 1.519 GB, free: 13.9 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002844/0.5344, allocations: 1.262 MB / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.5346, allocations: 52 kB / 1.521 GB, free: 12.59 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005681/0.5403, allocations: 2.797 MB / 1.523 GB, free: 9.785 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.5406, allocations: 155.5 kB / 1.523 GB, free: 9.633 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004866/0.541, allocations: 290.8 kB / 1.524 GB, free: 9.348 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.545, allocations: 2.221 MB / 1.526 GB, free: 7.121 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.545, allocations: 0 / 1.526 GB, free: 7.121 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.144e-06/0.545, allocations: 0 / 1.526 GB, free: 7.121 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.545, allocations: 0 / 1.526 GB, free: 7.121 MB / 1.217 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.002142/0.5471, allocations: 0.954 MB / 1.527 GB, free: 6.137 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5472, allocations: 12.03 kB / 1.527 GB, free: 6.125 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.5473, allocations: 94.7 kB / 1.527 GB, free: 6.023 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5484, allocations: 151.4 kB / 1.527 GB, free: 5.875 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007831/0.5492, allocations: 375.3 kB / 1.527 GB, free: 5.48 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.5492, allocations: 41.31 kB / 1.527 GB, free: 5.438 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.5493, allocations: 48 kB / 1.527 GB, free: 5.391 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.5507, allocations: 0.9985 MB / 1.528 GB, free: 4.262 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.5507, allocations: 0 / 1.528 GB, free: 4.262 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.5508, allocations: 27.94 kB / 1.528 GB, free: 4.234 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.5508, allocations: 16 kB / 1.528 GB, free: 4.219 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.5519, allocations: 491.5 kB / 1.529 GB, free: 3.738 MB / 1.217 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.003344/0.5552, allocations: 2.278 MB / 1.531 GB, free: 1.371 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.5558, allocations: 254.4 kB / 1.531 GB, free: 1.113 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.5562, allocations: 157.4 kB / 1.532 GB, free: 0.957 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02081/0.577, allocations: 4.936 MB / 1.536 GB, free: 12.02 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/0.577, allocations: 46.41 kB / 1.536 GB, free: 11.96 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/0.5771, allocations: 0 / 1.536 GB, free: 11.96 MB / 1.232 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.09056/0.6676, allocations: 31.65 MB / 1.567 GB, free: 12.32 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.6677, allocations: 137 kB / 1.567 GB, free: 12.15 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.6682, allocations: 373.6 kB / 1.568 GB, free: 11.79 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.6683, allocations: 37.7 kB / 1.568 GB, free: 11.74 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.6685, allocations: 300.8 kB / 1.568 GB, free: 11.44 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.6687, allocations: 190.3 kB / 1.568 GB, free: 11.25 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.6689, allocations: 114.3 kB / 1.568 GB, free: 11.14 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.669, allocations: 354.8 kB / 1.569 GB, free: 10.78 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/0.6696, allocations: 237.2 kB / 1.569 GB, free: 10.55 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.6704, allocations: 454.5 kB / 1.569 GB, free: 10.04 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6716, allocations: 0.5942 MB / 1.57 GB, free: 9.398 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6716, allocations: 3.938 kB / 1.57 GB, free: 9.395 MB / 1.264 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002055/0.6736, allocations: 0.7939 MB / 1.571 GB, free: 8.59 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6736, allocations: 7.938 kB / 1.571 GB, free: 8.582 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6736, allocations: 4 kB / 1.571 GB, free: 8.578 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/0.6742, allocations: 121.9 kB / 1.571 GB, free: 8.453 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.6747, allocations: 127.9 kB / 1.571 GB, free: 8.328 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.6782, allocations: 3.218 MB / 1.574 GB, free: 4.887 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/0.6788, allocations: 35.97 kB / 1.574 GB, free: 4.852 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.6788, allocations: 27.98 kB / 1.574 GB, free: 4.824 MB / 1.264 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.0003044/0.6791, allocations: 193.9 kB / 1.574 GB, free: 4.625 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.6793, allocations: 51.67 kB / 1.574 GB, free: 4.574 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.6812, allocations: 0.7808 MB / 1.575 GB, free: 3.773 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6812, allocations: 8 kB / 1.575 GB, free: 3.766 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.6812, allocations: 4 kB / 1.575 GB, free: 3.762 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6812, allocations: 3.984 kB / 1.575 GB, free: 3.758 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.6845, allocations: 1.493 MB / 1.577 GB, free: 2.172 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6845, allocations: 4 kB / 1.577 GB, free: 2.168 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.685, allocations: 103.8 kB / 1.577 GB, free: 2.066 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.6852, allocations: 68.81 kB / 1.577 GB, free: 1.996 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.6853, allocations: 20.39 kB / 1.577 GB, free: 1.977 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.6871, allocations: 1.668 MB / 1.579 GB, free: 204 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6871, allocations: 7.938 kB / 1.579 GB, free: 196 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.6893, allocations: 1.016 MB / 1.58 GB, free: 15.11 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.6894, allocations: 63.55 kB / 1.58 GB, free: 15.05 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.6895, allocations: 12 kB / 1.58 GB, free: 15.04 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.69, allocations: 27.98 kB / 1.58 GB, free: 15.01 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.6901, allocations: 51.8 kB / 1.58 GB, free: 14.96 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.6901, allocations: 31.98 kB / 1.58 GB, free: 14.93 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0004704/0.6906, allocations: 350.9 kB / 1.58 GB, free: 14.59 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6906, allocations: 0 / 1.58 GB, free: 14.59 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003936/0.6945, allocations: 1.398 MB / 1.581 GB, free: 13.19 MB / 1.279 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.009787/0.7043, allocations: 2.21 MB / 1.584 GB, free: 10.91 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002035/0.7064, allocations: 0.7761 MB / 1.584 GB, free: 10.11 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.7064, allocations: 4 kB / 1.584 GB, free: 10.1 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.7071, allocations: 378.5 kB / 1.585 GB, free: 9.719 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.7088, allocations: 345.9 kB / 1.585 GB, free: 9.391 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.7204, allocations: 5.797 MB / 1.591 GB, free: 3.344 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.7207, allocations: 279.5 kB / 1.591 GB, free: 3.043 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0006238/0.7213, allocations: 143.1 kB / 1.591 GB, free: 2.91 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.7216, allocations: 215.4 kB / 1.591 GB, free: 2.699 MB / 1.279 GB Notification: Performance of SimCode: time 9.12e-07/0.7216, allocations: 0 / 1.591 GB, free: 2.699 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7715/1.493, allocations: 71.74 MB / 1.661 GB, free: 213.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/16.33, allocations: 5.703 kB / 1.661 GB, free: 213.5 MB / 1.295 GB " [Timeout remaining time 284] (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/jenkins1/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: 29.088449460919946]