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.001711/0.001711, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001895/0.001895, allocations: 215.4 kB / 23.04 MB, free: 5.07 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.103/3.103, allocations: 0.5003 GB / 0.8061 GB, free: 26.71 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",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.001991/0.001991, allocations: 62.33 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.213/0.54, allocations: 194.3 MB / 1.535 GB, free: 13.48 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03548/0.5755, allocations: 26.41 MB / 1.561 GB, free: 2.992 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.5779, allocations: 79.38 kB / 1.561 GB, free: 2.914 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.005953/0.5839, allocations: 2.106 MB / 1.563 GB, free: 0.8008 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.5948, allocations: 4.58 MB / 1.567 GB, free: 12.21 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.0062/0.601, allocations: 2.57 MB / 1.57 GB, free: 9.641 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01228/0.6133, allocations: 7.657 MB / 1.577 GB, free: 1.965 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003069/0.6164, allocations: 1.266 MB / 1.579 GB, free: 0.668 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007843/0.6242, allocations: 2.694 MB / 1.581 GB, free: 13.97 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.6274, allocations: 1.456 MB / 1.583 GB, free: 12.51 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.000646/0.628, allocations: 204 kB / 1.583 GB, free: 12.31 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.6384, allocations: 4.864 MB / 1.588 GB, free: 7.438 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.6394, allocations: 0.6852 MB / 1.588 GB, free: 6.75 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.6413, allocations: 1.209 MB / 1.589 GB, free: 5.535 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.6526, allocations: 5.787 MB / 1.595 GB, free: 15.73 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6526, allocations: 0 / 1.595 GB, free: 15.73 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6526, allocations: 0 / 1.595 GB, free: 15.73 MB / 1.295 GB Notification: Performance of Transformations before backend: time 8.754e-05/0.6527, allocations: 0 / 1.595 GB, free: 15.73 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.00702/0.6597, allocations: 2.833 MB / 1.598 GB, free: 12.84 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.6597, allocations: 8.75 kB / 1.598 GB, free: 12.83 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.643e-05/0.6598, allocations: 34.09 kB / 1.598 GB, free: 12.8 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.66, allocations: 160.6 kB / 1.598 GB, free: 12.63 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004551/0.6646, allocations: 0.662 MB / 1.599 GB, free: 11.96 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005867/0.6704, allocations: 2.801 MB / 1.601 GB, free: 9.125 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/0.6705, allocations: 82.09 kB / 1.602 GB, free: 9.043 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.6708, allocations: 116 kB / 1.602 GB, free: 8.93 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.6737, allocations: 1.335 MB / 1.603 GB, free: 7.508 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.6737, allocations: 7.984 kB / 1.603 GB, free: 7.5 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.6738, allocations: 47.94 kB / 1.603 GB, free: 7.453 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.6739, allocations: 28 kB / 1.603 GB, free: 7.426 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.6767, allocations: 1.12 MB / 1.604 GB, free: 6.305 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.6365/1.313, allocations: 6.716 MB / 1.611 GB, free: 259.7 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/1.316, allocations: 0.7682 MB / 1.611 GB, free: 259.7 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009522/1.316, allocations: 371 kB / 1.612 GB, free: 259.6 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00733/1.324, allocations: 1.859 MB / 1.614 GB, free: 259.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/1.325, allocations: 0.496 MB / 1.614 GB, free: 259.6 MB / 1.295 GB Notification: Performance of pre-optimization done (n=67): time 2.705e-06/1.325, allocations: 1.969 kB / 1.614 GB, free: 259.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=81): time 0.05575/1.381, allocations: 18.71 MB / 1.632 GB, free: 256.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.381, allocations: 166 kB / 1.633 GB, free: 256.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/1.384, allocations: 2.019 MB / 1.635 GB, free: 255.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/1.384, allocations: 43.86 kB / 1.635 GB, free: 255.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006751/1.385, allocations: 0.8801 MB / 1.635 GB, free: 255.2 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/1.385, allocations: 303.9 kB / 1.636 GB, free: 255.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004816/1.386, allocations: 339.3 kB / 1.636 GB, free: 254.9 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.284e-05/1.386, allocations: 303 kB / 1.636 GB, free: 254.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/1.387, allocations: 0.6565 MB / 1.637 GB, free: 254.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/1.389, allocations: 1.061 MB / 1.638 GB, free: 253.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/1.391, allocations: 1.633 MB / 1.64 GB, free: 252.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/1.391, allocations: 0 / 1.64 GB, free: 252.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004351/1.396, allocations: 2.12 MB / 1.642 GB, free: 251.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.396, allocations: 11.88 kB / 1.642 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.396, allocations: 8.406 kB / 1.642 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007132/1.396, allocations: 223.4 kB / 1.642 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.398, allocations: 304.3 kB / 1.642 GB, free: 251.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/1.402, allocations: 3.956 MB / 1.646 GB, free: 248.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/1.404, allocations: 119.6 kB / 1.646 GB, free: 248.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/1.404, allocations: 65.62 kB / 1.646 GB, free: 248.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.000956/1.405, allocations: 0.5589 MB / 1.647 GB, free: 247.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006751/1.406, allocations: 197.8 kB / 1.647 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/1.409, allocations: 1.49 MB / 1.648 GB, free: 247.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.409, allocations: 7.781 kB / 1.648 GB, free: 247.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.409, allocations: 0 / 1.648 GB, free: 247.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002328/1.411, allocations: 1.262 MB / 1.65 GB, free: 246.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/1.434, allocations: 8.45 MB / 1.658 GB, free: 239.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.434, allocations: 8 kB / 1.658 GB, free: 239.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/1.435, allocations: 175.8 kB / 1.658 GB, free: 239.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/1.435, allocations: 161.2 kB / 1.658 GB, free: 239.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/1.435, allocations: 33.95 kB / 1.658 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/1.438, allocations: 2.272 MB / 1.66 GB, free: 237 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.438, allocations: 4.062 kB / 1.66 GB, free: 237 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/1.441, allocations: 1.909 MB / 1.662 GB, free: 235 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000949/1.442, allocations: 328.7 kB / 1.663 GB, free: 234.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003797/1.443, allocations: 27.98 kB / 1.663 GB, free: 234.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.444, allocations: 85.36 kB / 1.663 GB, free: 234.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.444, allocations: 80.41 kB / 1.663 GB, free: 234.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/1.444, allocations: 39.97 kB / 1.663 GB, free: 234.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001787/1.446, allocations: 1.398 MB / 1.664 GB, free: 233.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.446, allocations: 4 kB / 1.664 GB, free: 233.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004913/1.451, allocations: 1.393 MB / 1.666 GB, free: 231.8 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.01145/1.462, allocations: 3.672 MB / 1.669 GB, free: 228.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003402/1.466, allocations: 1.587 MB / 1.671 GB, free: 226.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/1.466, allocations: 4.562 kB / 1.671 GB, free: 226.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/1.467, allocations: 0.6243 MB / 1.671 GB, free: 226.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/1.471, allocations: 0.9578 MB / 1.672 GB, free: 225.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/1.496, allocations: 15.87 MB / 1.688 GB, free: 208.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/1.497, allocations: 1.487 MB / 1.689 GB, free: 207.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001422/1.498, allocations: 392.6 kB / 1.69 GB, free: 206.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.499, allocations: 0.7961 MB / 1.69 GB, free: 206 MB / 1.295 GB Notification: Performance of SimCode: time 1.242e-06/1.499, allocations: 0 / 1.69 GB, free: 206 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/1.615, allocations: 88.56 MB / 1.777 GB, free: 118.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.42/19.04, allocations: 14.36 kB / 1.777 GB, free: 118 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: 32.43920124298893]