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.0015/0.0015, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001607/0.001607, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.446/1.446, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.098/3.098, allocations: 0.49 GB / 0.7916 GB, free: 33.21 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.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.002026/0.002026, allocations: 73.83 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3343, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2242/0.5584, allocations: 193.6 MB / 1.51 GB, free: 1.023 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03786/0.5963, allocations: 26.26 MB / 1.536 GB, free: 6.688 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.5989, allocations: 79.38 kB / 1.536 GB, free: 6.609 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.006126/0.605, allocations: 2.034 MB / 1.538 GB, free: 4.566 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.6178, allocations: 4.508 MB / 1.542 GB, free: 48 kB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.007264/0.6251, allocations: 2.511 MB / 1.544 GB, free: 13.54 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.637, allocations: 7.478 MB / 1.552 GB, free: 6.051 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.6397, allocations: 1.285 MB / 1.553 GB, free: 4.73 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006185/0.6459, allocations: 2.671 MB / 1.556 GB, free: 2.055 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00262/0.6485, allocations: 1.444 MB / 1.557 GB, free: 0.6016 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004653/0.649, allocations: 204 kB / 1.557 GB, free: 412 kB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009227/0.6582, allocations: 4.79 MB / 1.562 GB, free: 11.61 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0009772/0.6592, allocations: 0.6813 MB / 1.563 GB, free: 10.92 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.6611, allocations: 1.213 MB / 1.564 GB, free: 9.703 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.6718, allocations: 5.768 MB / 1.569 GB, free: 3.918 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6718, allocations: 0 / 1.569 GB, free: 3.918 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6718, allocations: 4 kB / 1.569 GB, free: 3.914 MB / 1.264 GB Notification: Performance of Transformations before backend: time 8.04e-05/0.6719, allocations: 0 / 1.569 GB, free: 3.914 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.00702/0.6789, allocations: 2.909 MB / 1.572 GB, free: 0.9297 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6789, allocations: 12.03 kB / 1.572 GB, free: 0.918 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002488/0.6792, allocations: 160.6 kB / 1.572 GB, free: 0.75 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.6842, allocations: 0.6658 MB / 1.573 GB, free: 84 kB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006062/0.6903, allocations: 2.877 MB / 1.576 GB, free: 13.16 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/0.6904, allocations: 86.09 kB / 1.576 GB, free: 13.07 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.6906, allocations: 116 kB / 1.576 GB, free: 12.96 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/0.6936, allocations: 1.335 MB / 1.577 GB, free: 11.54 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.6936, allocations: 4 kB / 1.577 GB, free: 11.53 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.6937, allocations: 47.94 kB / 1.577 GB, free: 11.48 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.6938, allocations: 24 kB / 1.577 GB, free: 11.46 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/0.6968, allocations: 1.12 MB / 1.578 GB, free: 10.34 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.01019/0.707, allocations: 6.791 MB / 1.585 GB, free: 3.172 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.7092, allocations: 0.7792 MB / 1.586 GB, free: 2.367 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008935/0.7101, allocations: 368.1 kB / 1.586 GB, free: 2 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007786/0.7179, allocations: 2.829 MB / 1.589 GB, free: 14.93 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.7192, allocations: 0.4938 MB / 1.589 GB, free: 14.41 MB / 1.295 GB Notification: Performance of pre-optimization done (n=67): time 3.056e-06/0.7192, allocations: 0 / 1.589 GB, free: 14.41 MB / 1.295 GB Notification: Performance of matching and sorting (n=81): time 0.7518/1.471, allocations: 18.84 MB / 1.608 GB, free: 272.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/1.471, allocations: 171.3 kB / 1.608 GB, free: 272 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/1.475, allocations: 2.014 MB / 1.61 GB, free: 271.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/1.475, allocations: 48.67 kB / 1.61 GB, free: 271.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007227/1.476, allocations: 0.8752 MB / 1.611 GB, free: 270.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/1.476, allocations: 307 kB / 1.611 GB, free: 270.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004937/1.476, allocations: 335.7 kB / 1.612 GB, free: 270.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/1.477, allocations: 306.8 kB / 1.612 GB, free: 269.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/1.478, allocations: 0.6488 MB / 1.612 GB, free: 269.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/1.479, allocations: 1.058 MB / 1.613 GB, free: 268.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/1.482, allocations: 1.623 MB / 1.615 GB, free: 268 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.849e-05/1.482, allocations: 3.625 kB / 1.615 GB, free: 268 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005896/1.488, allocations: 2.107 MB / 1.617 GB, free: 267.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/1.488, allocations: 10.14 kB / 1.617 GB, free: 267.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.203e-05/1.488, allocations: 13.38 kB / 1.617 GB, free: 267.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008989/1.489, allocations: 224.5 kB / 1.617 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.491, allocations: 304.3 kB / 1.618 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/1.495, allocations: 4.162 MB / 1.622 GB, free: 263.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/1.497, allocations: 120.8 kB / 1.622 GB, free: 263.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/1.497, allocations: 67.64 kB / 1.622 GB, free: 263.3 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.0009854/1.498, allocations: 0.5565 MB / 1.622 GB, free: 262.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007633/1.499, allocations: 207.2 kB / 1.623 GB, free: 262.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/1.503, allocations: 1.478 MB / 1.624 GB, free: 262.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.503, allocations: 12.41 kB / 1.624 GB, free: 262.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.503, allocations: 1.062 kB / 1.624 GB, free: 262.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00261/1.505, allocations: 1.263 MB / 1.625 GB, free: 261.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/1.531, allocations: 9.296 MB / 1.634 GB, free: 258.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.531, allocations: 4.625 kB / 1.634 GB, free: 258.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/1.532, allocations: 181.9 kB / 1.635 GB, free: 258.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005468/1.533, allocations: 157.7 kB / 1.635 GB, free: 258.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.131e-05/1.533, allocations: 29.3 kB / 1.635 GB, free: 258.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/1.536, allocations: 2.389 MB / 1.637 GB, free: 256.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/1.536, allocations: 15.5 kB / 1.637 GB, free: 256.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/1.54, allocations: 1.9 MB / 1.639 GB, free: 255.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/1.541, allocations: 416.8 kB / 1.639 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/1.541, allocations: 24.62 kB / 1.639 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.542, allocations: 89.06 kB / 1.639 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/1.542, allocations: 73.45 kB / 1.64 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/1.543, allocations: 41.72 kB / 1.64 GB, free: 255.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001973/1.545, allocations: 1.401 MB / 1.641 GB, free: 254.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.545, allocations: 0 / 1.641 GB, free: 254.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005278/1.55, allocations: 1.385 MB / 1.642 GB, free: 254.5 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.01148/1.561, allocations: 3.668 MB / 1.646 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003694/1.565, allocations: 1.57 MB / 1.647 GB, free: 252.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.565, allocations: 5.094 kB / 1.647 GB, free: 252.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/1.567, allocations: 0.6258 MB / 1.648 GB, free: 251.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/1.571, allocations: 0.9558 MB / 1.649 GB, free: 251.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/1.598, allocations: 15.85 MB / 1.664 GB, free: 241 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/1.599, allocations: 1.485 MB / 1.666 GB, free: 239.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001482/1.601, allocations: 399.2 kB / 1.666 GB, free: 239.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009703/1.602, allocations: 0.7961 MB / 1.667 GB, free: 238.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.092e-06/1.602, allocations: 0 / 1.667 GB, free: 238.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/1.728, allocations: 87.7 MB / 1.753 GB, free: 151.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/18.24, allocations: 12.03 kB / 1.753 GB, free: 151.4 MB / 1.295 GB " [Timeout remaining time 282] (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: 29.059711711946875]