Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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.001816/0.001816, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001852/0.001852, allocations: 218.8 kB / 22.26 MB, free: 5.207 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.969 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.152/3.152, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",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.003106/0.003106, allocations: 62.39 kB / 1.177 GB, free: 17.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.358, allocations: 180.2 MB / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2153/0.5733, allocations: 194.3 MB / 1.543 GB, free: 5.637 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03802/0.6114, allocations: 26.41 MB / 1.568 GB, free: 11.14 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.6141, allocations: 79.38 kB / 1.568 GB, free: 11.07 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00639/0.6205, allocations: 2.106 MB / 1.57 GB, free: 8.953 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01286/0.6334, allocations: 4.585 MB / 1.575 GB, free: 4.355 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007181/0.6406, allocations: 2.563 MB / 1.577 GB, free: 1.797 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.6533, allocations: 7.656 MB / 1.585 GB, free: 10.12 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.6561, allocations: 1.27 MB / 1.586 GB, free: 8.816 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006494/0.6626, allocations: 2.692 MB / 1.589 GB, free: 6.117 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002956/0.6656, allocations: 1.456 MB / 1.59 GB, free: 4.656 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0008158/0.6664, allocations: 204 kB / 1.59 GB, free: 4.457 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/0.6777, allocations: 4.86 MB / 1.595 GB, free: 15.59 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.6789, allocations: 0.6969 MB / 1.596 GB, free: 14.89 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.002677/0.6816, allocations: 1.209 MB / 1.597 GB, free: 13.68 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.694, allocations: 5.779 MB / 1.603 GB, free: 7.879 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.694, allocations: 0 / 1.603 GB, free: 7.879 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.453e-06/0.694, allocations: 0 / 1.603 GB, free: 7.879 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001056/0.6941, allocations: 0 / 1.603 GB, free: 7.879 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.007422/0.7015, allocations: 2.837 MB / 1.605 GB, free: 4.984 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7016, allocations: 12.03 kB / 1.605 GB, free: 4.973 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003543/0.7019, allocations: 164.6 kB / 1.606 GB, free: 4.801 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.7067, allocations: 0.6581 MB / 1.606 GB, free: 4.141 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006662/0.7133, allocations: 2.801 MB / 1.609 GB, free: 1.301 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.7135, allocations: 82.09 kB / 1.609 GB, free: 1.219 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.7139, allocations: 112 kB / 1.609 GB, free: 1.109 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6096/1.324, allocations: 1.332 MB / 1.61 GB, free: 253.6 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/1.324, allocations: 7.062 kB / 1.61 GB, free: 253.6 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/1.324, allocations: 49.3 kB / 1.611 GB, free: 253.6 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/1.324, allocations: 26.72 kB / 1.611 GB, free: 253.6 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/1.327, allocations: 1.118 MB / 1.612 GB, free: 253.6 MB / 1.295 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.01117/1.338, allocations: 6.73 MB / 1.618 GB, free: 249.2 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/1.34, allocations: 0.7705 MB / 1.619 GB, free: 248.9 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008571/1.341, allocations: 364.9 kB / 1.619 GB, free: 248.8 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007809/1.349, allocations: 1.856 MB / 1.621 GB, free: 248.8 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/1.35, allocations: 0.5043 MB / 1.622 GB, free: 248.5 MB / 1.295 GB Notification: Performance of pre-optimization done (n=67): time 2.385e-06/1.35, allocations: 0 / 1.622 GB, free: 248.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=81): time 0.05574/1.406, allocations: 18.71 MB / 1.64 GB, free: 245.1 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/1.406, allocations: 168.8 kB / 1.64 GB, free: 244.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/1.409, allocations: 2.018 MB / 1.642 GB, free: 244.1 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/1.409, allocations: 47.91 kB / 1.642 GB, free: 244.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/1.41, allocations: 0.8788 MB / 1.643 GB, free: 243.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/1.41, allocations: 309.9 kB / 1.643 GB, free: 243.2 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004255/1.41, allocations: 335.5 kB / 1.644 GB, free: 243.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 3.901e-05/1.41, allocations: 302.2 kB / 1.644 GB, free: 242.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.411, allocations: 0.6532 MB / 1.644 GB, free: 242.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/1.413, allocations: 1.062 MB / 1.646 GB, free: 241.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/1.415, allocations: 1.632 MB / 1.647 GB, free: 240.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.415, allocations: 0 / 1.647 GB, free: 240.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004007/1.419, allocations: 2.127 MB / 1.649 GB, free: 239.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.419, allocations: 7.844 kB / 1.649 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.419, allocations: 12.38 kB / 1.649 GB, free: 239.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007004/1.42, allocations: 221 kB / 1.649 GB, free: 239.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.421, allocations: 303.7 kB / 1.65 GB, free: 239.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/1.424, allocations: 3.955 MB / 1.654 GB, free: 236.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.426, allocations: 109.3 kB / 1.654 GB, free: 236.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.426, allocations: 71.34 kB / 1.654 GB, free: 236.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007722/1.427, allocations: 0.5585 MB / 1.654 GB, free: 235.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005837/1.428, allocations: 201.2 kB / 1.654 GB, free: 235.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/1.431, allocations: 1.488 MB / 1.656 GB, free: 234.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.431, allocations: 7.438 kB / 1.656 GB, free: 234.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.431, allocations: 3.656 kB / 1.656 GB, free: 234.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002249/1.433, allocations: 1.262 MB / 1.657 GB, free: 233.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0226/1.456, allocations: 8.454 MB / 1.665 GB, free: 225.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.456, allocations: 4 kB / 1.665 GB, free: 225.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007928/1.457, allocations: 179.8 kB / 1.666 GB, free: 225.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/1.457, allocations: 163 kB / 1.666 GB, free: 225.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.606e-05/1.457, allocations: 27.98 kB / 1.666 GB, free: 225.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/1.46, allocations: 2.277 MB / 1.668 GB, free: 223.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.46, allocations: 7.938 kB / 1.668 GB, free: 223.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/1.463, allocations: 1.901 MB / 1.67 GB, free: 221.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.464, allocations: 333 kB / 1.67 GB, free: 220.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005809/1.465, allocations: 27.98 kB / 1.67 GB, free: 220.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.467, allocations: 83.92 kB / 1.67 GB, free: 220.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.467, allocations: 80.41 kB / 1.67 GB, free: 220.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.294e-05/1.467, allocations: 43.92 kB / 1.67 GB, free: 220.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002319/1.469, allocations: 1.398 MB / 1.672 GB, free: 219.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.469, allocations: 0 / 1.672 GB, free: 219.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005062/1.474, allocations: 1.397 MB / 1.673 GB, free: 217.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.motSpe.y,bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01183/1.486, allocations: 3.662 MB / 1.677 GB, free: 214.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003394/1.489, allocations: 1.582 MB / 1.678 GB, free: 212.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.489, allocations: 4 kB / 1.678 GB, free: 212.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/1.491, allocations: 0.6208 MB / 1.679 GB, free: 212.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/1.495, allocations: 0.9624 MB / 1.68 GB, free: 211.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/1.521, allocations: 15.86 MB / 1.695 GB, free: 194.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.522, allocations: 1.491 MB / 1.697 GB, free: 193.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001485/1.523, allocations: 396.7 kB / 1.697 GB, free: 192.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.525, allocations: 0.8039 MB / 1.698 GB, free: 192 MB / 1.295 GB Notification: Performance of SimCode: time 7.41e-07/1.525, allocations: 0 / 1.698 GB, free: 192 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1228/1.647, allocations: 88.52 MB / 1.784 GB, free: 104.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/19.14, allocations: 7.875 kB / 1.784 GB, free: 104.1 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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: 30.080029234057292]