Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001911/0.001911, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002377/0.002377, allocations: 216.2 kB / 22.25 MB, free: 5.078 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 8.008 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.272/3.272, allocations: 0.49 GB / 0.7951 GB, free: 33.44 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.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_12_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.002056/0.002056, allocations: 70.72 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.337, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2231/0.5601, allocations: 194.3 MB / 1.516 GB, free: 14.98 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03723/0.5973, allocations: 26.4 MB / 1.541 GB, free: 4.504 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.5998, allocations: 83.31 kB / 1.541 GB, free: 4.422 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005955/0.6057, allocations: 2.114 MB / 1.544 GB, free: 2.301 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.6174, allocations: 4.56 MB / 1.548 GB, free: 13.73 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.006459/0.6239, allocations: 2.583 MB / 1.551 GB, free: 11.15 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.6356, allocations: 7.664 MB / 1.558 GB, free: 3.469 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.6381, allocations: 1.255 MB / 1.559 GB, free: 2.176 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006309/0.6444, allocations: 2.701 MB / 1.562 GB, free: 15.47 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.6472, allocations: 1.448 MB / 1.563 GB, free: 14.02 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0006069/0.6478, allocations: 204 kB / 1.563 GB, free: 13.82 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009939/0.6577, allocations: 4.876 MB / 1.568 GB, free: 8.934 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.6588, allocations: 0.6774 MB / 1.569 GB, free: 8.254 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.6609, allocations: 1.213 MB / 1.57 GB, free: 7.035 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.6717, allocations: 5.776 MB / 1.576 GB, free: 1.242 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6717, allocations: 4 kB / 1.576 GB, free: 1.238 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6717, allocations: 0 / 1.576 GB, free: 1.238 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001002/0.6718, allocations: 4 kB / 1.576 GB, free: 1.234 MB / 1.264 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.007425/0.6792, allocations: 2.833 MB / 1.578 GB, free: 14.34 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6793, allocations: 8.75 kB / 1.579 GB, free: 14.33 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000294/0.6796, allocations: 160.6 kB / 1.579 GB, free: 14.16 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/0.6842, allocations: 0.6698 MB / 1.579 GB, free: 13.49 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005986/0.6902, allocations: 2.789 MB / 1.582 GB, free: 10.66 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.6903, allocations: 86.02 kB / 1.582 GB, free: 10.57 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/0.6907, allocations: 119.9 kB / 1.582 GB, free: 10.46 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003342/0.694, allocations: 1.331 MB / 1.584 GB, free: 9.039 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/0.694, allocations: 7.922 kB / 1.584 GB, free: 9.031 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.6942, allocations: 51.94 kB / 1.584 GB, free: 8.98 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.6942, allocations: 31.94 kB / 1.584 GB, free: 8.949 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.6972, allocations: 1.124 MB / 1.585 GB, free: 7.824 MB / 1.279 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.01145/0.7087, allocations: 6.717 MB / 1.591 GB, free: 0.7344 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.7109, allocations: 0.77 MB / 1.592 GB, free: 15.94 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009156/0.7118, allocations: 368.4 kB / 1.592 GB, free: 15.57 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00697/0.7188, allocations: 1.862 MB / 1.594 GB, free: 13.71 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/0.7202, allocations: 0.4991 MB / 1.595 GB, free: 13.18 MB / 1.295 GB Notification: Performance of pre-optimization done (n=67): time 4.178e-06/0.7202, allocations: 0 / 1.595 GB, free: 13.18 MB / 1.295 GB Notification: Performance of matching and sorting (n=81): time 0.6676/1.388, allocations: 18.7 MB / 1.613 GB, free: 271.1 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/1.388, allocations: 171.3 kB / 1.613 GB, free: 270.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/1.391, allocations: 2.02 MB / 1.615 GB, free: 270.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.391, allocations: 43.23 kB / 1.615 GB, free: 270.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006754/1.392, allocations: 0.8804 MB / 1.616 GB, free: 269.7 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/1.392, allocations: 301.8 kB / 1.616 GB, free: 269.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004559/1.393, allocations: 335.1 kB / 1.617 GB, free: 269.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 3.626e-05/1.393, allocations: 303.1 kB / 1.617 GB, free: 269 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/1.394, allocations: 0.6628 MB / 1.618 GB, free: 268.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/1.395, allocations: 1.053 MB / 1.619 GB, free: 268.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/1.398, allocations: 1.637 MB / 1.62 GB, free: 267.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/1.398, allocations: 3.188 kB / 1.62 GB, free: 267.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00554/1.404, allocations: 2.109 MB / 1.622 GB, free: 266.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.404, allocations: 10.31 kB / 1.622 GB, free: 266.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.404, allocations: 11.38 kB / 1.622 GB, free: 266.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000785/1.405, allocations: 234.7 kB / 1.622 GB, free: 266.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/1.406, allocations: 304.8 kB / 1.623 GB, free: 266.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/1.41, allocations: 3.945 MB / 1.627 GB, free: 262.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/1.413, allocations: 120.9 kB / 1.627 GB, free: 262.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/1.413, allocations: 70.58 kB / 1.627 GB, free: 262.7 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.001016/1.414, allocations: 0.555 MB / 1.627 GB, free: 262.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007628/1.415, allocations: 194.9 kB / 1.628 GB, free: 262.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/1.418, allocations: 1.485 MB / 1.629 GB, free: 261.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.418, allocations: 9 kB / 1.629 GB, free: 261.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.418, allocations: 5.297 kB / 1.629 GB, free: 261.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002599/1.421, allocations: 1.265 MB / 1.63 GB, free: 260.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/1.446, allocations: 8.459 MB / 1.638 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.446, allocations: 8.109 kB / 1.638 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/1.447, allocations: 181.1 kB / 1.639 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/1.448, allocations: 158.8 kB / 1.639 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/1.448, allocations: 29.36 kB / 1.639 GB, free: 258.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/1.45, allocations: 2.269 MB / 1.641 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/1.45, allocations: 10.47 kB / 1.641 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004202/1.455, allocations: 1.906 MB / 1.643 GB, free: 256 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.456, allocations: 328.8 kB / 1.643 GB, free: 255.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/1.456, allocations: 27.39 kB / 1.643 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.457, allocations: 91.95 kB / 1.643 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.458, allocations: 85.19 kB / 1.643 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/1.458, allocations: 31.69 kB / 1.643 GB, free: 255.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001896/1.46, allocations: 1.405 MB / 1.645 GB, free: 255.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.11e-07/1.46, allocations: 0 / 1.645 GB, free: 255.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004716/1.464, allocations: 1.393 MB / 1.646 GB, free: 255.1 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.01108/1.475, allocations: 3.668 MB / 1.65 GB, free: 253.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003621/1.479, allocations: 1.577 MB / 1.651 GB, free: 252.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.479, allocations: 0 / 1.651 GB, free: 252.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/1.48, allocations: 0.6227 MB / 1.652 GB, free: 252.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/1.484, allocations: 0.9594 MB / 1.653 GB, free: 252 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02617/1.51, allocations: 15.89 MB / 1.668 GB, free: 240.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/1.511, allocations: 1.487 MB / 1.67 GB, free: 239.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001528/1.513, allocations: 390.8 kB / 1.67 GB, free: 238.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.514, allocations: 0.8 MB / 1.671 GB, free: 238 MB / 1.295 GB Notification: Performance of SimCode: time 8.72e-07/1.514, allocations: 0 / 1.671 GB, free: 238 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/1.642, allocations: 88.54 MB / 1.757 GB, free: 150.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.9/19.54, allocations: 10.69 kB / 1.757 GB, free: 150.2 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.68029407202266]