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.001351/0.001351, 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.001655/0.001655, allocations: 214.8 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.061/3.061, allocations: 0.49 GB / 0.7959 GB, free: 33.5 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.001985/0.001985, allocations: 63.53 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.331, allocations: 176.1 MB / 1.327 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2138/0.5448, allocations: 194.3 MB / 1.516 GB, free: 15.02 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03648/0.5813, allocations: 26.41 MB / 1.542 GB, free: 4.535 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.5837, allocations: 83.31 kB / 1.542 GB, free: 4.453 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.005921/0.5896, allocations: 2.115 MB / 1.544 GB, free: 2.332 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01234/0.6019, allocations: 4.563 MB / 1.549 GB, free: 13.75 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.006052/0.608, allocations: 2.578 MB / 1.551 GB, free: 11.18 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01144/0.6194, allocations: 7.661 MB / 1.559 GB, free: 3.504 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.6219, allocations: 1.259 MB / 1.56 GB, free: 2.211 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006486/0.6283, allocations: 2.695 MB / 1.563 GB, free: 15.51 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.6312, allocations: 1.463 MB / 1.564 GB, free: 14.04 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0005721/0.6318, allocations: 204 kB / 1.564 GB, free: 13.84 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.6423, allocations: 4.868 MB / 1.569 GB, free: 8.965 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.6435, allocations: 0.6774 MB / 1.57 GB, free: 8.285 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.646, allocations: 1.213 MB / 1.571 GB, free: 7.066 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.6571, allocations: 5.776 MB / 1.576 GB, free: 1.273 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6571, allocations: 0 / 1.576 GB, free: 1.273 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6571, allocations: 0 / 1.576 GB, free: 1.273 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001007/0.6572, allocations: 0 / 1.576 GB, free: 1.273 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.007319/0.6645, allocations: 2.842 MB / 1.579 GB, free: 14.38 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6645, allocations: 8.75 kB / 1.579 GB, free: 14.37 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.83e-05/0.6646, allocations: 30.09 kB / 1.579 GB, free: 14.34 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002619/0.6648, allocations: 160.5 kB / 1.579 GB, free: 14.17 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.6695, allocations: 0.6698 MB / 1.58 GB, free: 13.5 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005957/0.6755, allocations: 2.797 MB / 1.583 GB, free: 10.66 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.6756, allocations: 78.09 kB / 1.583 GB, free: 10.58 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/0.6759, allocations: 116 kB / 1.583 GB, free: 10.46 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.679, allocations: 1.335 MB / 1.584 GB, free: 9.043 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.679, allocations: 3.938 kB / 1.584 GB, free: 9.039 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.6791, allocations: 51.94 kB / 1.584 GB, free: 8.988 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.6792, allocations: 28 kB / 1.584 GB, free: 8.961 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/0.6822, allocations: 1.128 MB / 1.585 GB, free: 7.836 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.01065/0.6928, allocations: 6.717 MB / 1.592 GB, free: 0.7422 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.6951, allocations: 0.7648 MB / 1.593 GB, free: 15.95 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008839/0.6959, allocations: 368.7 kB / 1.593 GB, free: 15.58 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007094/0.703, allocations: 1.866 MB / 1.595 GB, free: 13.71 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.7044, allocations: 0.4914 MB / 1.595 GB, free: 13.2 MB / 1.295 GB Notification: Performance of pre-optimization done (n=67): time 2.845e-06/0.7044, allocations: 0 / 1.595 GB, free: 13.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=81): time 0.6657/1.37, allocations: 18.7 MB / 1.614 GB, free: 271.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.37, allocations: 167.5 kB / 1.614 GB, free: 271.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/1.373, allocations: 2.016 MB / 1.616 GB, free: 270.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/1.373, allocations: 52.62 kB / 1.616 GB, free: 270.6 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006244/1.374, allocations: 0.872 MB / 1.617 GB, free: 270 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/1.374, allocations: 302.5 kB / 1.617 GB, free: 269.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004636/1.375, allocations: 342.2 kB / 1.617 GB, free: 269.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 3.623e-05/1.375, allocations: 308.3 kB / 1.618 GB, free: 269.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/1.376, allocations: 0.6555 MB / 1.618 GB, free: 269.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/1.377, allocations: 1.057 MB / 1.619 GB, free: 268.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/1.381, allocations: 1.63 MB / 1.621 GB, free: 267.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.381, allocations: 3.25 kB / 1.621 GB, free: 267.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005705/1.386, allocations: 2.121 MB / 1.623 GB, free: 266.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/1.386, allocations: 9.906 kB / 1.623 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/1.386, allocations: 11.08 kB / 1.623 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007733/1.387, allocations: 223.3 kB / 1.623 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.388, allocations: 303.9 kB / 1.624 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/1.392, allocations: 3.957 MB / 1.627 GB, free: 263.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/1.394, allocations: 123.1 kB / 1.628 GB, free: 263 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.394, allocations: 71.59 kB / 1.628 GB, free: 263 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.0008974/1.395, allocations: 0.5596 MB / 1.628 GB, free: 262.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006194/1.396, allocations: 195.5 kB / 1.628 GB, free: 262.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/1.399, allocations: 1.486 MB / 1.63 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.4, allocations: 8.906 kB / 1.63 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.4, allocations: 2.125 kB / 1.63 GB, free: 262 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00248/1.402, allocations: 1.258 MB / 1.631 GB, free: 261.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/1.426, allocations: 8.454 MB / 1.639 GB, free: 259.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.426, allocations: 4.875 kB / 1.639 GB, free: 259.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/1.427, allocations: 180.6 kB / 1.639 GB, free: 259.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004935/1.428, allocations: 158.3 kB / 1.64 GB, free: 259.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/1.428, allocations: 33.06 kB / 1.64 GB, free: 259.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/1.43, allocations: 2.277 MB / 1.642 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.43, allocations: 9.594 kB / 1.642 GB, free: 257.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/1.434, allocations: 1.906 MB / 1.644 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009553/1.435, allocations: 333.4 kB / 1.644 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/1.436, allocations: 30.2 kB / 1.644 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.437, allocations: 83.22 kB / 1.644 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/1.437, allocations: 81.03 kB / 1.644 GB, free: 256 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/1.437, allocations: 36.03 kB / 1.644 GB, free: 256 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001746/1.439, allocations: 1.399 MB / 1.646 GB, free: 255.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.439, allocations: 4 kB / 1.646 GB, free: 255.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003984/1.443, allocations: 1.394 MB / 1.647 GB, free: 255.4 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.01071/1.454, allocations: 3.661 MB / 1.651 GB, free: 253.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003751/1.457, allocations: 1.579 MB / 1.652 GB, free: 252.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/1.457, allocations: 3.562 kB / 1.652 GB, free: 252.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.459, allocations: 0.6188 MB / 1.653 GB, free: 252.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/1.463, allocations: 0.9659 MB / 1.654 GB, free: 252.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.488, allocations: 15.89 MB / 1.669 GB, free: 240.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008903/1.489, allocations: 1.483 MB / 1.671 GB, free: 239.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001398/1.49, allocations: 399.2 kB / 1.671 GB, free: 238.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009549/1.491, allocations: 0.7961 MB / 1.672 GB, free: 238.1 MB / 1.295 GB Notification: Performance of SimCode: time 9.61e-07/1.491, allocations: 0 / 1.672 GB, free: 238.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.608, allocations: 88.56 MB / 1.758 GB, free: 150.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.47/19.08, allocations: 14.45 kB / 1.758 GB, free: 150.3 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.3566710120067]