Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001634/0.001634, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002061/0.002061, allocations: 222.5 kB / 22.25 MB, free: 5.258 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.107/3.107, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_12_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.002018/0.002018, allocations: 67.81 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3536, allocations: 176.1 MB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1756/0.5292, allocations: 143.9 MB / 1.466 GB, free: 1.16 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.5409, allocations: 8.176 MB / 1.474 GB, free: 8.953 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.5417, allocations: 23.81 kB / 1.474 GB, free: 8.93 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.5427, allocations: 317.9 kB / 1.475 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.5456, allocations: 1.147 MB / 1.476 GB, free: 7.469 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0051/0.5507, allocations: 2.154 MB / 1.478 GB, free: 5.32 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00192/0.5527, allocations: 1.395 MB / 1.479 GB, free: 3.922 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.5533, allocations: 369.9 kB / 1.48 GB, free: 3.555 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00521/0.5585, allocations: 2.19 MB / 1.482 GB, free: 1.355 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003294/0.5618, allocations: 1.285 MB / 1.483 GB, free: 72 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.562, allocations: 56 kB / 1.483 GB, free: 16 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005555/0.5676, allocations: 2.86 MB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.5678, allocations: 163.4 kB / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.5683, allocations: 294.8 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.5719, allocations: 2.217 MB / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.572, allocations: 0 / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.643e-06/0.572, allocations: 0 / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.572, allocations: 4 kB / 1.488 GB, free: 10.48 MB / 1.186 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.002058/0.574, allocations: 0.9486 MB / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5741, allocations: 8.031 kB / 1.489 GB, free: 9.488 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.5742, allocations: 102.6 kB / 1.489 GB, free: 9.379 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.5753, allocations: 147.5 kB / 1.49 GB, free: 9.234 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/0.5761, allocations: 367.3 kB / 1.49 GB, free: 8.844 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.5761, allocations: 37.31 kB / 1.49 GB, free: 8.805 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.353e-05/0.5762, allocations: 59.95 kB / 1.49 GB, free: 8.746 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.5776, allocations: 0.9945 MB / 1.491 GB, free: 7.621 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5776, allocations: 0 / 1.491 GB, free: 7.621 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.5777, allocations: 31.88 kB / 1.491 GB, free: 7.59 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.5777, allocations: 12 kB / 1.491 GB, free: 7.578 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.5788, allocations: 499.5 kB / 1.492 GB, free: 7.09 MB / 1.186 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.003293/0.5821, allocations: 2.266 MB / 1.494 GB, free: 4.734 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.5827, allocations: 260.5 kB / 1.494 GB, free: 4.473 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.583, allocations: 165.4 kB / 1.494 GB, free: 4.309 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01752/0.6006, allocations: 4.924 MB / 1.499 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.6006, allocations: 46.36 kB / 1.499 GB, free: 15.32 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/0.6006, allocations: 0 / 1.499 GB, free: 15.32 MB / 1.201 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.09027/0.6909, allocations: 31.64 MB / 1.53 GB, free: 15.68 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/0.691, allocations: 140.9 kB / 1.53 GB, free: 15.51 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.6915, allocations: 381.5 kB / 1.53 GB, free: 15.13 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.6915, allocations: 33.7 kB / 1.53 GB, free: 15.09 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.6917, allocations: 292.9 kB / 1.531 GB, free: 14.8 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.6919, allocations: 194.3 kB / 1.531 GB, free: 14.61 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.6921, allocations: 118.3 kB / 1.531 GB, free: 14.48 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.6923, allocations: 354.8 kB / 1.531 GB, free: 14.13 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.6928, allocations: 237.2 kB / 1.532 GB, free: 13.89 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007283/0.6936, allocations: 442.6 kB / 1.532 GB, free: 13.39 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.6947, allocations: 0.5981 MB / 1.533 GB, free: 12.75 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.6948, allocations: 7.938 kB / 1.533 GB, free: 12.75 MB / 1.233 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002076/0.6968, allocations: 0.786 MB / 1.533 GB, free: 11.95 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.6969, allocations: 11.94 kB / 1.533 GB, free: 11.93 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6969, allocations: 0 / 1.533 GB, free: 11.93 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/0.6974, allocations: 130 kB / 1.534 GB, free: 11.8 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.698, allocations: 127.8 kB / 1.534 GB, free: 11.68 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/0.7014, allocations: 3.21 MB / 1.537 GB, free: 8.242 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.702, allocations: 40.11 kB / 1.537 GB, free: 8.203 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.7021, allocations: 24 kB / 1.537 GB, free: 8.18 MB / 1.233 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.0003026/0.7024, allocations: 189.7 kB / 1.537 GB, free: 7.984 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.7026, allocations: 51.72 kB / 1.537 GB, free: 7.934 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.7045, allocations: 0.7964 MB / 1.538 GB, free: 7.125 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.7045, allocations: 7.984 kB / 1.538 GB, free: 7.117 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.7045, allocations: 0 / 1.538 GB, free: 7.117 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.7045, allocations: 128 / 1.538 GB, free: 7.117 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.7078, allocations: 1.5 MB / 1.539 GB, free: 5.523 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.7078, allocations: 0 / 1.539 GB, free: 5.523 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.7083, allocations: 107.9 kB / 1.539 GB, free: 5.418 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.7086, allocations: 77.19 kB / 1.539 GB, free: 5.34 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.7086, allocations: 16 kB / 1.539 GB, free: 5.324 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.7104, allocations: 1.66 MB / 1.541 GB, free: 3.555 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.7104, allocations: 4 kB / 1.541 GB, free: 3.551 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.7125, allocations: 1.02 MB / 1.542 GB, free: 2.469 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.7127, allocations: 59.62 kB / 1.542 GB, free: 2.41 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7128, allocations: 19.95 kB / 1.542 GB, free: 2.391 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.7133, allocations: 35.97 kB / 1.542 GB, free: 2.355 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.7134, allocations: 43.88 kB / 1.542 GB, free: 2.312 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.7135, allocations: 23.98 kB / 1.542 GB, free: 2.289 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0004574/0.7139, allocations: 354.8 kB / 1.543 GB, free: 1.941 MB / 1.233 GB Notification: Performance of sort global known variables: time 7e-08/0.7139, allocations: 0 / 1.543 GB, free: 1.941 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.004194/0.7181, allocations: 1.397 MB / 1.544 GB, free: 0.543 MB / 1.233 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.01019/0.7283, allocations: 2.217 MB / 1.546 GB, free: 14.25 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.7303, allocations: 0.7725 MB / 1.547 GB, free: 13.46 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.7303, allocations: 0 / 1.547 GB, free: 13.46 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.7311, allocations: 382.3 kB / 1.547 GB, free: 13.07 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.7329, allocations: 345.4 kB / 1.548 GB, free: 12.74 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.7452, allocations: 5.802 MB / 1.553 GB, free: 6.688 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.7455, allocations: 283.5 kB / 1.554 GB, free: 6.383 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006122/0.7461, allocations: 142.5 kB / 1.554 GB, free: 6.25 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.7464, allocations: 215.4 kB / 1.554 GB, free: 6.039 MB / 1.248 GB Notification: Performance of SimCode: time 8.11e-07/0.7464, allocations: 0 / 1.554 GB, free: 6.039 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7951/1.542, allocations: 71.92 MB / 1.624 GB, free: 268 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.93, allocations: 5.25 kB / 1.624 GB, free: 268 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.85827473300742]