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.001354/0.001354, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001541/0.001541, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.133/3.133, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_12_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.001912/0.001912, allocations: 61.98 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3527, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2091/0.5618, allocations: 169 MB / 1.492 GB, free: 7.922 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03769/0.5995, allocations: 24.14 MB / 1.515 GB, free: 15.73 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/0.6023, allocations: 83.31 kB / 1.515 GB, free: 15.64 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006584/0.6089, allocations: 2.011 MB / 1.517 GB, free: 13.62 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.6214, allocations: 4.557 MB / 1.522 GB, free: 9.055 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006332/0.6277, allocations: 2.557 MB / 1.524 GB, free: 6.504 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01258/0.6403, allocations: 7.654 MB / 1.532 GB, free: 14.83 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.6431, allocations: 1.255 MB / 1.533 GB, free: 13.54 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006418/0.6495, allocations: 2.707 MB / 1.535 GB, free: 10.83 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.6523, allocations: 1.459 MB / 1.537 GB, free: 9.363 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0006243/0.6529, allocations: 204 kB / 1.537 GB, free: 9.164 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00906/0.662, allocations: 4.384 MB / 1.541 GB, free: 4.773 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.663, allocations: 0.6891 MB / 1.542 GB, free: 4.082 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.6646, allocations: 0.9488 MB / 1.543 GB, free: 3.129 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.6752, allocations: 5.698 MB / 1.549 GB, free: 13.41 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.6753, allocations: 3.984 kB / 1.549 GB, free: 13.41 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6753, allocations: 0 / 1.549 GB, free: 13.41 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.714e-05/0.6753, allocations: 0 / 1.549 GB, free: 13.41 MB / 1.248 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.006144/0.6815, allocations: 2.845 MB / 1.551 GB, free: 10.51 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6815, allocations: 8.75 kB / 1.551 GB, free: 10.5 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.655e-05/0.6815, allocations: 26.09 kB / 1.551 GB, free: 10.47 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/0.6817, allocations: 160.6 kB / 1.552 GB, free: 10.3 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.6863, allocations: 0.6619 MB / 1.552 GB, free: 9.641 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.6923, allocations: 2.785 MB / 1.555 GB, free: 6.812 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.791e-05/0.6924, allocations: 86.08 kB / 1.555 GB, free: 6.727 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.6927, allocations: 120 kB / 1.555 GB, free: 6.609 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.6957, allocations: 1.561 MB / 1.557 GB, free: 4.906 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.6957, allocations: 11.94 kB / 1.557 GB, free: 4.895 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.6959, allocations: 51.94 kB / 1.557 GB, free: 4.844 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.6959, allocations: 28 kB / 1.557 GB, free: 4.816 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002803/0.6987, allocations: 1.124 MB / 1.558 GB, free: 3.695 MB / 1.248 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.009954/0.7086, allocations: 5.402 MB / 1.563 GB, free: 14.12 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.7107, allocations: 0.7763 MB / 1.564 GB, free: 13.32 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008317/0.7116, allocations: 366.5 kB / 1.564 GB, free: 12.95 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006911/0.7185, allocations: 1.87 MB / 1.566 GB, free: 11.08 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.7198, allocations: 0.6671 MB / 1.567 GB, free: 10.34 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 2.625e-06/0.7198, allocations: 0 / 1.567 GB, free: 10.34 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.05217/0.7719, allocations: 18.72 MB / 1.585 GB, free: 7.582 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.772, allocations: 170.8 kB / 1.585 GB, free: 7.379 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.7751, allocations: 2.02 MB / 1.587 GB, free: 5.316 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.7752, allocations: 41.7 kB / 1.587 GB, free: 5.27 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008565/0.7761, allocations: 0.8826 MB / 1.588 GB, free: 4.379 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.7764, allocations: 301.5 kB / 1.588 GB, free: 4.082 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/0.7769, allocations: 335.4 kB / 1.589 GB, free: 3.75 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7771, allocations: 309.1 kB / 1.589 GB, free: 3.445 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.7784, allocations: 0.6559 MB / 1.59 GB, free: 2.789 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.7802, allocations: 1.266 MB / 1.591 GB, free: 1.312 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.7832, allocations: 1.642 MB / 1.592 GB, free: 15.53 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.7832, allocations: 3.938 kB / 1.592 GB, free: 15.52 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005533/0.7888, allocations: 2.12 MB / 1.594 GB, free: 13.39 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.7888, allocations: 11.94 kB / 1.594 GB, free: 13.38 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.7888, allocations: 12 kB / 1.594 GB, free: 13.37 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008076/0.7896, allocations: 225.5 kB / 1.595 GB, free: 13.14 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.7908, allocations: 303.6 kB / 1.595 GB, free: 12.84 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004964/0.7958, allocations: 3.926 MB / 1.599 GB, free: 8.695 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.7977, allocations: 116.2 kB / 1.599 GB, free: 8.582 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.7978, allocations: 67.92 kB / 1.599 GB, free: 8.516 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.0009334/0.7987, allocations: 0.5576 MB / 1.6 GB, free: 7.949 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/0.7994, allocations: 202.7 kB / 1.6 GB, free: 7.75 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.8031, allocations: 1.49 MB / 1.601 GB, free: 6.242 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.8032, allocations: 8 kB / 1.601 GB, free: 6.234 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.8032, allocations: 0 / 1.601 GB, free: 6.234 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002772/0.8059, allocations: 1.277 MB / 1.602 GB, free: 4.883 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6498/1.456, allocations: 8.17 MB / 1.61 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.456, allocations: 8.5 kB / 1.61 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/1.457, allocations: 180.2 kB / 1.611 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005485/1.457, allocations: 158.2 kB / 1.611 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/1.457, allocations: 30.41 kB / 1.611 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/1.46, allocations: 2.237 MB / 1.613 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.46, allocations: 14.69 kB / 1.613 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/1.464, allocations: 1.915 MB / 1.615 GB, free: 266.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.465, allocations: 337.3 kB / 1.615 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/1.466, allocations: 25.14 kB / 1.615 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.467, allocations: 86.19 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.467, allocations: 80.2 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-05/1.467, allocations: 39.38 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002237/1.469, allocations: 1.404 MB / 1.617 GB, free: 266 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.469, allocations: 1.906 kB / 1.617 GB, free: 266 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004439/1.474, allocations: 1.389 MB / 1.618 GB, free: 266 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 (81): * Single equations (assignments): 78 * 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.01235/1.486, allocations: 3.707 MB / 1.622 GB, free: 264.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003746/1.49, allocations: 1.582 MB / 1.623 GB, free: 263.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.49, allocations: 1.125 kB / 1.623 GB, free: 263.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/1.491, allocations: 0.6287 MB / 1.624 GB, free: 263.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/1.495, allocations: 0.9649 MB / 1.625 GB, free: 263.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02912/1.525, allocations: 15.89 MB / 1.64 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.526, allocations: 0.9022 MB / 1.641 GB, free: 255.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001703/1.527, allocations: 400.1 kB / 1.642 GB, free: 255.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.528, allocations: 0.8031 MB / 1.642 GB, free: 254.7 MB / 1.295 GB Notification: Performance of SimCode: time 7.71e-07/1.528, allocations: 0 / 1.642 GB, free: 254.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/1.647, allocations: 91.7 MB / 1.732 GB, free: 174.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.52/19.16, allocations: 8.062 kB / 1.732 GB, free: 174.8 MB / 1.295 GB " [Timeout remaining time 281] (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: 32.47869203495793]