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.001761/0.001761, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002104/0.002104, allocations: 213.3 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.785 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.118/3.118, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.002855/0.002855, allocations: 64.16 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3055, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2033/0.5088, allocations: 169.1 MB / 1.491 GB, free: 7.754 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03521/0.544, allocations: 24.15 MB / 1.515 GB, free: 15.54 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.5464, allocations: 83.31 kB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006262/0.5527, allocations: 2.01 MB / 1.517 GB, free: 13.45 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.5645, allocations: 4.55 MB / 1.521 GB, free: 8.883 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006295/0.5708, allocations: 2.555 MB / 1.524 GB, free: 6.332 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01286/0.5836, allocations: 7.669 MB / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.586, allocations: 1.27 MB / 1.532 GB, free: 13.34 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007229/0.5933, allocations: 3.029 MB / 1.535 GB, free: 10.3 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002671/0.5959, allocations: 1.455 MB / 1.537 GB, free: 8.84 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003504/0.5963, allocations: 196 kB / 1.537 GB, free: 8.648 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009136/0.6054, allocations: 4.345 MB / 1.541 GB, free: 4.297 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008626/0.6063, allocations: 0.6696 MB / 1.542 GB, free: 3.625 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.6076, allocations: 0.9214 MB / 1.543 GB, free: 2.699 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.009702/0.6173, allocations: 5.6 MB / 1.548 GB, free: 13.08 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6173, allocations: 0 / 1.548 GB, free: 13.08 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6173, allocations: 0 / 1.548 GB, free: 13.08 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.191e-05/0.6174, allocations: 0 / 1.548 GB, free: 13.08 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.005732/0.6231, allocations: 2.798 MB / 1.551 GB, free: 10.23 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6232, allocations: 12.69 kB / 1.551 GB, free: 10.21 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002148/0.6234, allocations: 160.6 kB / 1.551 GB, free: 10.05 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.6281, allocations: 0.6658 MB / 1.552 GB, free: 9.379 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005637/0.6338, allocations: 2.711 MB / 1.554 GB, free: 6.625 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.6339, allocations: 82.08 kB / 1.554 GB, free: 6.543 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.6342, allocations: 116 kB / 1.555 GB, free: 6.43 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.6372, allocations: 1.565 MB / 1.556 GB, free: 4.723 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.6372, allocations: 3.938 kB / 1.556 GB, free: 4.719 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.6374, allocations: 47.94 kB / 1.556 GB, free: 4.672 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.6374, allocations: 28 kB / 1.556 GB, free: 4.645 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.6401, allocations: 1.113 MB / 1.557 GB, free: 3.531 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.009605/0.6497, allocations: 5.402 MB / 1.562 GB, free: 13.96 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.6517, allocations: 0.7589 MB / 1.563 GB, free: 13.18 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008449/0.6525, allocations: 372.4 kB / 1.564 GB, free: 12.8 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007083/0.6596, allocations: 1.866 MB / 1.565 GB, free: 10.93 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.661, allocations: 0.6864 MB / 1.566 GB, free: 10.18 MB / 1.264 GB Notification: Performance of pre-optimization done (n=67): time 2.625e-06/0.661, allocations: 0 / 1.566 GB, free: 10.18 MB / 1.264 GB Notification: Performance of matching and sorting (n=81): time 0.0539/0.7149, allocations: 18.7 MB / 1.584 GB, free: 7.43 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.715, allocations: 166.8 kB / 1.584 GB, free: 7.23 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/0.7179, allocations: 2.04 MB / 1.586 GB, free: 5.148 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.7181, allocations: 41.7 kB / 1.587 GB, free: 5.102 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.000849/0.7189, allocations: 0.8786 MB / 1.587 GB, free: 4.215 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.7193, allocations: 305.5 kB / 1.588 GB, free: 3.914 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005164/0.7198, allocations: 335.4 kB / 1.588 GB, free: 3.582 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7199, allocations: 305.1 kB / 1.588 GB, free: 3.281 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.7213, allocations: 0.6442 MB / 1.589 GB, free: 2.637 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.7231, allocations: 1.229 MB / 1.59 GB, free: 1.203 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/0.726, allocations: 1.63 MB / 1.592 GB, free: 15.43 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.726, allocations: 0 / 1.592 GB, free: 15.43 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.004853/0.7309, allocations: 2.108 MB / 1.594 GB, free: 13.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.7309, allocations: 8 kB / 1.594 GB, free: 13.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.7309, allocations: 15.94 kB / 1.594 GB, free: 13.28 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008271/0.7317, allocations: 218 kB / 1.594 GB, free: 13.06 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.7331, allocations: 311.5 kB / 1.594 GB, free: 12.76 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0055/0.7386, allocations: 3.925 MB / 1.598 GB, free: 8.609 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.7406, allocations: 115.9 kB / 1.598 GB, free: 8.496 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.7408, allocations: 67.98 kB / 1.598 GB, free: 8.43 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.0009525/0.7418, allocations: 0.5547 MB / 1.599 GB, free: 7.867 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/0.7424, allocations: 202.7 kB / 1.599 GB, free: 7.668 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.7463, allocations: 1.492 MB / 1.6 GB, free: 6.164 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.7463, allocations: 16 kB / 1.6 GB, free: 6.148 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7463, allocations: 4 kB / 1.6 GB, free: 6.145 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002819/0.7491, allocations: 1.269 MB / 1.602 GB, free: 4.801 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5777/1.327, allocations: 8.168 MB / 1.61 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.327, allocations: 5.031 kB / 1.61 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008825/1.328, allocations: 184.3 kB / 1.61 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005673/1.328, allocations: 158.3 kB / 1.61 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/1.328, allocations: 29.42 kB / 1.61 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/1.331, allocations: 2.237 MB / 1.612 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/1.331, allocations: 10.33 kB / 1.612 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00429/1.335, allocations: 1.92 MB / 1.614 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009957/1.336, allocations: 326.4 kB / 1.614 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/1.337, allocations: 32.67 kB / 1.614 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.338, allocations: 85.86 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/1.338, allocations: 79.48 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.761e-05/1.338, allocations: 39.39 kB / 1.615 GB, free: 266.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002117/1.34, allocations: 1.401 MB / 1.616 GB, free: 266 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/1.34, allocations: 0 / 1.616 GB, free: 266 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004776/1.345, allocations: 1.383 MB / 1.617 GB, free: 265.9 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.01225/1.357, allocations: 3.692 MB / 1.621 GB, free: 264.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003827/1.361, allocations: 1.573 MB / 1.623 GB, free: 263.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.361, allocations: 5.406 kB / 1.623 GB, free: 263.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.363, allocations: 0.6273 MB / 1.623 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.003952/1.367, allocations: 0.9497 MB / 1.624 GB, free: 263.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/1.394, allocations: 15.82 MB / 1.64 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009246/1.395, allocations: 0.9016 MB / 1.64 GB, free: 255.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001582/1.397, allocations: 385.1 kB / 1.641 GB, free: 255.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009806/1.398, allocations: 0.8054 MB / 1.642 GB, free: 254.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.042e-06/1.398, allocations: 0 / 1.642 GB, free: 254.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/1.516, allocations: 92.04 MB / 1.731 GB, free: 174.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/17.56, allocations: 10.36 kB / 1.731 GB, free: 174.5 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.37133911199635]