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.001742/0.001742, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002264/0.002264, allocations: 222.2 kB / 23.03 MB, free: 4.945 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="cs",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.001995/0.001995, allocations: 69.67 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3362, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1869/0.523, allocations: 143.8 MB / 1.467 GB, free: 1.234 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01954/0.5426, allocations: 8.166 MB / 1.475 GB, free: 9.039 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.5438, allocations: 27.75 kB / 1.475 GB, free: 9.012 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.5458, allocations: 329.8 kB / 1.475 GB, free: 8.688 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.5506, allocations: 1.135 MB / 1.476 GB, free: 7.551 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.008548/0.5592, allocations: 2.153 MB / 1.479 GB, free: 5.402 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003175/0.5624, allocations: 1.395 MB / 1.48 GB, free: 4.004 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.5635, allocations: 365.9 kB / 1.48 GB, free: 3.641 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00952/0.573, allocations: 2.194 MB / 1.482 GB, free: 1.438 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00506/0.578, allocations: 1.293 MB / 1.484 GB, free: 148 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.5783, allocations: 52 kB / 1.484 GB, free: 96 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.5889, allocations: 2.868 MB / 1.486 GB, free: 13.22 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003809/0.5893, allocations: 155.4 kB / 1.487 GB, free: 13.07 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000834/0.5901, allocations: 290.8 kB / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005439/0.5955, allocations: 2.221 MB / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5955, allocations: 3.984 kB / 1.489 GB, free: 10.55 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5955, allocations: 0 / 1.489 GB, free: 10.55 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.437e-05/0.5956, allocations: 0 / 1.489 GB, free: 10.55 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.003436/0.599, allocations: 0.9486 MB / 1.49 GB, free: 9.574 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.342e-05/0.5991, allocations: 12.03 kB / 1.49 GB, free: 9.562 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.053e-05/0.5991, allocations: 13.5 kB / 1.49 GB, free: 9.547 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/0.5993, allocations: 106.4 kB / 1.49 GB, free: 9.434 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.6014, allocations: 135.5 kB / 1.49 GB, free: 9.301 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.6026, allocations: 375.3 kB / 1.491 GB, free: 8.902 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.6026, allocations: 41.25 kB / 1.491 GB, free: 8.863 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.6028, allocations: 59.95 kB / 1.491 GB, free: 8.805 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.6051, allocations: 0.9903 MB / 1.492 GB, free: 7.688 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.6052, allocations: 8 kB / 1.492 GB, free: 7.68 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.6053, allocations: 27.94 kB / 1.492 GB, free: 7.652 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.6053, allocations: 16 kB / 1.492 GB, free: 7.637 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.6072, allocations: 495.5 kB / 1.492 GB, free: 7.152 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.005327/0.6125, allocations: 2.262 MB / 1.494 GB, free: 4.801 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.6135, allocations: 260.5 kB / 1.495 GB, free: 4.539 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.6141, allocations: 161.3 kB / 1.495 GB, free: 4.379 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03001/0.6441, allocations: 4.928 MB / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.902e-05/0.6442, allocations: 46.41 kB / 1.5 GB, free: 15.39 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 3.577e-06/0.6442, allocations: 0 / 1.5 GB, free: 15.39 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.09616/0.7404, allocations: 31.65 MB / 1.531 GB, free: 15.73 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.7405, allocations: 137 kB / 1.531 GB, free: 15.57 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.7411, allocations: 377.5 kB / 1.531 GB, free: 15.2 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.447e-05/0.7412, allocations: 41.69 kB / 1.531 GB, free: 15.15 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.7415, allocations: 296.8 kB / 1.531 GB, free: 14.85 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.7417, allocations: 186.4 kB / 1.532 GB, free: 14.67 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.742, allocations: 106.3 kB / 1.532 GB, free: 14.56 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.7422, allocations: 358.8 kB / 1.532 GB, free: 14.2 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/0.743, allocations: 237.2 kB / 1.532 GB, free: 13.96 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009289/0.7439, allocations: 450.5 kB / 1.533 GB, free: 13.46 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.7454, allocations: 0.5941 MB / 1.533 GB, free: 12.82 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.7454, allocations: 4 kB / 1.533 GB, free: 12.82 MB / 1.232 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002606/0.748, allocations: 0.7938 MB / 1.534 GB, free: 12.01 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.7481, allocations: 8 kB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7481, allocations: 4 kB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.7487, allocations: 117.6 kB / 1.534 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.7494, allocations: 132.1 kB / 1.534 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.7534, allocations: 3.218 MB / 1.537 GB, free: 8.309 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.7542, allocations: 31.97 kB / 1.537 GB, free: 8.277 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.7542, allocations: 31.92 kB / 1.537 GB, free: 8.246 MB / 1.232 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.0004074/0.7547, allocations: 193.8 kB / 1.538 GB, free: 8.047 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.7549, allocations: 51.72 kB / 1.538 GB, free: 7.996 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.7573, allocations: 0.7794 MB / 1.538 GB, free: 7.195 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.7573, allocations: 8 kB / 1.538 GB, free: 7.188 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.7573, allocations: 0 / 1.538 GB, free: 7.188 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.7573, allocations: 3.984 kB / 1.538 GB, free: 7.184 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004073/0.7614, allocations: 1.505 MB / 1.54 GB, free: 5.586 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.7614, allocations: 4.125 kB / 1.54 GB, free: 5.582 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.7621, allocations: 103.9 kB / 1.54 GB, free: 5.48 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.7624, allocations: 72.8 kB / 1.54 GB, free: 5.406 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/0.7625, allocations: 23.92 kB / 1.54 GB, free: 5.383 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.7648, allocations: 1.661 MB / 1.542 GB, free: 3.613 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/0.7648, allocations: 7.938 kB / 1.542 GB, free: 3.605 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00299/0.7678, allocations: 1.02 MB / 1.543 GB, free: 2.527 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.768, allocations: 59.55 kB / 1.543 GB, free: 2.469 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.7681, allocations: 12 kB / 1.543 GB, free: 2.457 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.7688, allocations: 27.98 kB / 1.543 GB, free: 2.43 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.769, allocations: 47.86 kB / 1.543 GB, free: 2.383 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.769, allocations: 23.98 kB / 1.543 GB, free: 2.359 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006797/0.7697, allocations: 358.9 kB / 1.543 GB, free: 2.008 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7697, allocations: 0 / 1.543 GB, free: 2.008 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.006402/0.7761, allocations: 1.401 MB / 1.545 GB, free: 0.6055 MB / 1.232 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.01444/0.7906, allocations: 2.213 MB / 1.547 GB, free: 14.32 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002676/0.7932, allocations: 0.7726 MB / 1.548 GB, free: 13.52 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.7932, allocations: 0 / 1.548 GB, free: 13.52 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.7944, allocations: 378.5 kB / 1.548 GB, free: 13.14 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.7968, allocations: 345.8 kB / 1.548 GB, free: 12.81 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.8096, allocations: 5.803 MB / 1.554 GB, free: 6.766 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.8099, allocations: 283.5 kB / 1.554 GB, free: 6.461 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006861/0.8106, allocations: 139.8 kB / 1.554 GB, free: 6.332 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/0.8109, allocations: 211.4 kB / 1.555 GB, free: 6.125 MB / 1.248 GB Notification: Performance of SimCode: time 1.002e-06/0.8109, allocations: 0 / 1.555 GB, free: 6.125 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8138/1.625, allocations: 71.41 MB / 1.624 GB, free: 268.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/18.36, allocations: 5.562 kB / 1.624 GB, free: 268.4 MB / 1.295 GB " [Timeout remaining time 281] (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: 33.60421498690266]