Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.392/2.392, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5697/0.571, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2016/0.7727, allocations: 189.9 MB / 1.203 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03623/0.8089, allocations: 26.05 MB / 1.228 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/0.8116, allocations: 59.69 kB / 1.228 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.8224, allocations: 4.927 MB / 1.233 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.8327, allocations: 3.866 MB / 1.237 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005459/0.8382, allocations: 2.117 MB / 1.239 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009887/0.8481, allocations: 7.397 MB / 1.246 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.8507, allocations: 1.547 MB / 1.248 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/0.8561, allocations: 2.315 MB / 1.25 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.8586, allocations: 1.358 MB / 1.251 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005864/0.8592, allocations: 196 kB / 1.252 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5384/1.398, allocations: 4.527 MB / 1.256 GB, free: 17.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/1.399, allocations: 0.6494 MB / 1.257 GB, free: 17.11 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001877/1.401, allocations: 1.203 MB / 1.258 GB, free: 17.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/1.413, allocations: 5.708 MB / 1.263 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.413, allocations: 0 / 1.263 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.215e-06/1.413, allocations: 1.406 kB / 1.263 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.943e-05/1.413, allocations: 2.266 kB / 1.263 GB, free: 17.01 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.008193/1.421, allocations: 2.795 MB / 1.266 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.421, allocations: 13.05 kB / 1.266 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/1.421, allocations: 160 kB / 1.266 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004953/1.426, allocations: 0.6482 MB / 1.267 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005692/1.432, allocations: 2.774 MB / 1.27 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/1.432, allocations: 88.11 kB / 1.27 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/1.432, allocations: 120.4 kB / 1.27 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/1.435, allocations: 1.333 MB / 1.271 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/1.435, allocations: 7.844 kB / 1.271 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.435, allocations: 50.16 kB / 1.271 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/1.435, allocations: 38 kB / 1.271 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/1.438, allocations: 1.125 MB / 1.272 GB, free: 14.8 MB / 0.9981 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.007888/1.446, allocations: 6.804 MB / 1.279 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/1.448, allocations: 0.8634 MB / 1.28 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000749/1.448, allocations: 393.1 kB / 1.28 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007019/1.455, allocations: 2.798 MB / 1.283 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/1.456, allocations: 0.4955 MB / 1.283 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=69): time 2.014e-06/1.456, allocations: 0 / 1.283 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.04765/1.504, allocations: 18.74 MB / 1.302 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.504, allocations: 170 kB / 1.302 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/1.506, allocations: 1.982 MB / 1.304 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/1.506, allocations: 46.39 kB / 1.304 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/1.507, allocations: 0.8613 MB / 1.305 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/1.507, allocations: 298.9 kB / 1.305 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004115/1.508, allocations: 342 kB / 1.305 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.297e-05/1.508, allocations: 307.2 kB / 1.306 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.509, allocations: 0.6447 MB / 1.306 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/1.51, allocations: 1.066 MB / 1.307 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/1.512, allocations: 1.626 MB / 1.309 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.513, allocations: 3.344 kB / 1.309 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004018/1.517, allocations: 2.11 MB / 1.311 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.517, allocations: 10.44 kB / 1.311 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/1.517, allocations: 10.12 kB / 1.311 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/1.517, allocations: 228.9 kB / 1.311 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.518, allocations: 315.9 kB / 1.311 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/1.523, allocations: 4.163 MB / 1.315 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/1.525, allocations: 112.9 kB / 1.316 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/1.525, allocations: 69.27 kB / 1.316 GB, free: 2.074 MB / 0.9981 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 (162): * Single equations (assignments): 158 * 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.001005/1.526, allocations: 0.564 MB / 1.316 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000568/1.527, allocations: 196 kB / 1.316 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/1.53, allocations: 1.489 MB / 1.318 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/1.53, allocations: 9.594 kB / 1.318 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.53, allocations: 0 / 1.318 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002397/1.532, allocations: 1.26 MB / 1.319 GB, free: 17.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0236/1.556, allocations: 9.225 MB / 1.328 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/1.556, allocations: 6.906 kB / 1.328 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/1.557, allocations: 179.2 kB / 1.328 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004989/1.557, allocations: 163.4 kB / 1.328 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/1.557, allocations: 37.02 kB / 1.328 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/1.56, allocations: 2.368 MB / 1.331 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.56, allocations: 16.94 kB / 1.331 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/1.564, allocations: 1.885 MB / 1.333 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009163/1.565, allocations: 392.7 kB / 1.333 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00059/1.565, allocations: 32.05 kB / 1.333 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.567, allocations: 84.55 kB / 1.333 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.567, allocations: 77.55 kB / 1.333 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/1.567, allocations: 36.28 kB / 1.333 GB, free: 12.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002264/1.57, allocations: 1.381 MB / 1.335 GB, free: 12.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.57, allocations: 0 / 1.335 GB, free: 12.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006582/1.576, allocations: 1.37 MB / 1.336 GB, free: 12.62 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],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 (82): * Single equations (assignments): 79 * 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.01281/1.589, allocations: 3.633 MB / 1.339 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003752/1.593, allocations: 1.704 MB / 1.341 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.593, allocations: 0 / 1.341 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.594, allocations: 0.6435 MB / 1.342 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004561/1.599, allocations: 0.9375 MB / 1.343 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02766/1.626, allocations: 16.98 MB / 1.359 GB, free: 1.539 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.628, allocations: 1.501 MB / 1.361 GB, free: 380 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00195/1.63, allocations: 396.9 kB / 1.361 GB, free: 60 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.631, allocations: 0.795 MB / 1.362 GB, free: 15.91 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/1.631, allocations: 4 kB / 1.362 GB, free: 15.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/1.766, allocations: 87 MB / 1.447 GB, free: 10.41 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/14.51, allocations: 21.58 kB / 1.447 GB, free: 10.39 MB / 1.107 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.csv --start-time 1.728e+06 --stop-time 1.8144e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches