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.001363/0.001363, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002/0.002, allocations: 211.9 kB / 22.24 MB, free: 5.258 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.5/1.5, allocations: 230.6 MB / 256 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.277/3.277, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.00212/0.00212, allocations: 67.33 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3105, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2017/0.5121, allocations: 169.1 MB / 1.49 GB, free: 8.672 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03845/0.5506, allocations: 24.17 MB / 1.514 GB, free: 456 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.5529, allocations: 79.38 kB / 1.514 GB, free: 376 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00603/0.559, allocations: 2.001 MB / 1.516 GB, free: 14.36 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.5707, allocations: 4.545 MB / 1.52 GB, free: 9.801 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006122/0.5768, allocations: 2.549 MB / 1.523 GB, free: 7.258 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01132/0.5881, allocations: 7.63 MB / 1.53 GB, free: 15.61 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.5908, allocations: 1.239 MB / 1.531 GB, free: 14.33 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007298/0.5981, allocations: 3.039 MB / 1.534 GB, free: 11.29 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.6013, allocations: 1.37 MB / 1.536 GB, free: 9.91 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0008503/0.6022, allocations: 195.9 kB / 1.536 GB, free: 9.719 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/0.6136, allocations: 4.244 MB / 1.54 GB, free: 5.469 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.6148, allocations: 0.6657 MB / 1.541 GB, free: 4.801 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002198/0.617, allocations: 0.9253 MB / 1.542 GB, free: 3.871 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.6281, allocations: 5.589 MB / 1.547 GB, free: 14.27 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.6282, allocations: 8 kB / 1.547 GB, free: 14.26 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6282, allocations: 0 / 1.547 GB, free: 14.26 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001133/0.6283, allocations: 0 / 1.547 GB, free: 14.26 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.007273/0.6355, allocations: 2.798 MB / 1.55 GB, free: 11.4 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.6356, allocations: 12.75 kB / 1.55 GB, free: 11.39 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000326/0.6359, allocations: 156.6 kB / 1.55 GB, free: 11.23 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/0.6406, allocations: 0.6659 MB / 1.551 GB, free: 10.56 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006201/0.6468, allocations: 2.711 MB / 1.553 GB, free: 7.805 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.6469, allocations: 86.09 kB / 1.553 GB, free: 7.719 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/0.6473, allocations: 108 kB / 1.553 GB, free: 7.613 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.6508, allocations: 1.571 MB / 1.555 GB, free: 5.902 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.6509, allocations: 0 / 1.555 GB, free: 5.902 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.651, allocations: 51.94 kB / 1.555 GB, free: 5.852 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.6511, allocations: 24 kB / 1.555 GB, free: 5.828 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/0.6542, allocations: 1.124 MB / 1.556 GB, free: 4.703 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.01071/0.6649, allocations: 5.39 MB / 1.561 GB, free: 15.14 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.6672, allocations: 0.7688 MB / 1.562 GB, free: 14.34 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009408/0.6681, allocations: 368.4 kB / 1.563 GB, free: 13.98 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007354/0.6755, allocations: 1.862 MB / 1.564 GB, free: 12.11 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.677, allocations: 0.6826 MB / 1.565 GB, free: 11.36 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 3.356e-06/0.677, allocations: 0 / 1.565 GB, free: 11.36 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.05688/0.7339, allocations: 18.71 MB / 1.583 GB, free: 8.602 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.734, allocations: 166.9 kB / 1.583 GB, free: 8.402 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.7373, allocations: 2.024 MB / 1.585 GB, free: 6.336 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.7375, allocations: 49.7 kB / 1.585 GB, free: 6.281 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.000926/0.7384, allocations: 0.8786 MB / 1.586 GB, free: 5.395 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.7388, allocations: 305.5 kB / 1.587 GB, free: 5.094 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005413/0.7394, allocations: 335.4 kB / 1.587 GB, free: 4.762 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7395, allocations: 309.1 kB / 1.587 GB, free: 4.457 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.7409, allocations: 0.6559 MB / 1.588 GB, free: 3.801 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.7429, allocations: 1.225 MB / 1.589 GB, free: 2.371 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/0.746, allocations: 1.626 MB / 1.591 GB, free: 0.6016 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.7461, allocations: 4 kB / 1.591 GB, free: 0.5977 MB / 1.279 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005374/0.7514, allocations: 2.104 MB / 1.593 GB, free: 14.47 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.7515, allocations: 12.06 kB / 1.593 GB, free: 14.46 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.7515, allocations: 16 kB / 1.593 GB, free: 14.45 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000842/0.7523, allocations: 221.4 kB / 1.593 GB, free: 14.22 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.7537, allocations: 307.5 kB / 1.593 GB, free: 13.92 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005542/0.7592, allocations: 3.909 MB / 1.597 GB, free: 9.789 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.7614, allocations: 121.8 kB / 1.597 GB, free: 9.672 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/0.7616, allocations: 67.97 kB / 1.597 GB, free: 9.605 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.001126/0.7628, allocations: 0.5521 MB / 1.598 GB, free: 9.043 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007494/0.7635, allocations: 198.7 kB / 1.598 GB, free: 8.848 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.7675, allocations: 1.503 MB / 1.599 GB, free: 7.332 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.7675, allocations: 11.94 kB / 1.599 GB, free: 7.32 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7675, allocations: 4.188 kB / 1.599 GB, free: 7.316 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002846/0.7704, allocations: 1.262 MB / 1.601 GB, free: 5.98 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5789/1.349, allocations: 8.18 MB / 1.609 GB, free: 270.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.349, allocations: 6.719 kB / 1.609 GB, free: 270.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/1.35, allocations: 184.7 kB / 1.609 GB, free: 270.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005727/1.351, allocations: 159.2 kB / 1.609 GB, free: 270.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/1.351, allocations: 31.97 kB / 1.609 GB, free: 270.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/1.354, allocations: 2.235 MB / 1.611 GB, free: 269 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.354, allocations: 12.88 kB / 1.611 GB, free: 269 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/1.358, allocations: 1.913 MB / 1.613 GB, free: 268.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.359, allocations: 340.8 kB / 1.613 GB, free: 268 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/1.36, allocations: 26.23 kB / 1.613 GB, free: 268 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/1.361, allocations: 86.72 kB / 1.614 GB, free: 268 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/1.361, allocations: 79.14 kB / 1.614 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.625e-05/1.361, allocations: 35.89 kB / 1.614 GB, free: 267.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002478/1.364, allocations: 1.394 MB / 1.615 GB, free: 267.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.364, allocations: 0 / 1.615 GB, free: 267.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004696/1.368, allocations: 1.385 MB / 1.616 GB, free: 267.3 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.01326/1.382, allocations: 3.696 MB / 1.62 GB, free: 265.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004748/1.386, allocations: 1.576 MB / 1.622 GB, free: 265.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/1.387, allocations: 5.875 kB / 1.622 GB, free: 265.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/1.388, allocations: 0.6178 MB / 1.622 GB, free: 264.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004588/1.393, allocations: 0.9555 MB / 1.623 GB, free: 264.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/1.426, allocations: 15.81 MB / 1.638 GB, free: 257 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/1.428, allocations: 0.9085 MB / 1.639 GB, free: 256.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002072/1.43, allocations: 395.7 kB / 1.64 GB, free: 256.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.431, allocations: 0.8052 MB / 1.641 GB, free: 256.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.302e-06/1.431, allocations: 0 / 1.641 GB, free: 256.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/1.557, allocations: 91.7 MB / 1.73 GB, free: 176.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/17.59, allocations: 14.55 kB / 1.73 GB, free: 176.6 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: 28.641007769852877]