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.004138/0.004138, allocations: 97.41 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 197 kB / 16.67 MB, free: 5.973 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.402/2.402, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2648, allocations: 151.6 MB / 1.166 GB, free: 7.441 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.7582/1.023, allocations: 189.9 MB / 1.352 GB, free: 3.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03446/1.058, allocations: 26.05 MB / 1.377 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/1.061, allocations: 65.12 kB / 1.377 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006196/1.067, allocations: 2.006 MB / 1.379 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/1.08, allocations: 4.469 MB / 1.383 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006336/1.086, allocations: 2.409 MB / 1.386 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0109/1.097, allocations: 7.713 MB / 1.393 GB, free: 6.277 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/1.1, allocations: 1.571 MB / 1.395 GB, free: 5.238 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006053/1.106, allocations: 2.407 MB / 1.397 GB, free: 3.727 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/1.109, allocations: 1.418 MB / 1.399 GB, free: 2.848 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006143/1.11, allocations: 211 kB / 1.399 GB, free: 2.844 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/1.12, allocations: 4.718 MB / 1.403 GB, free: 368 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/1.121, allocations: 0.6659 MB / 1.404 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002494/1.124, allocations: 1.226 MB / 1.405 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0115/1.135, allocations: 5.875 MB / 1.411 GB, free: 10.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.135, allocations: 4 kB / 1.411 GB, free: 10.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/1.135, allocations: 0 / 1.411 GB, free: 10.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001129/1.135, allocations: 0 / 1.411 GB, free: 10.05 MB / 1.076 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.007231/1.143, allocations: 2.932 MB / 1.414 GB, free: 7.043 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.143, allocations: 8.031 kB / 1.414 GB, free: 7.035 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003322/1.143, allocations: 164.7 kB / 1.414 GB, free: 6.863 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/1.148, allocations: 0.6698 MB / 1.415 GB, free: 6.191 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/1.153, allocations: 2.885 MB / 1.417 GB, free: 3.258 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-05/1.154, allocations: 86.11 kB / 1.418 GB, free: 3.172 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003262/1.154, allocations: 112 kB / 1.418 GB, free: 3.062 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/1.157, allocations: 1.343 MB / 1.419 GB, free: 1.633 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/1.157, allocations: 7.938 kB / 1.419 GB, free: 1.625 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.157, allocations: 43.94 kB / 1.419 GB, free: 1.582 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/1.157, allocations: 38 kB / 1.419 GB, free: 1.547 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/1.16, allocations: 1.128 MB / 1.42 GB, free: 428 kB / 1.076 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.009421/1.169, allocations: 6.861 MB / 1.427 GB, free: 9.184 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/1.171, allocations: 0.7911 MB / 1.428 GB, free: 8.363 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007916/1.172, allocations: 396.4 kB / 1.428 GB, free: 7.969 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007157/1.179, allocations: 2.837 MB / 1.431 GB, free: 4.891 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/1.18, allocations: 0.4897 MB / 1.431 GB, free: 4.375 MB / 1.092 GB Notification: Performance of pre-optimization done (n=69): time 2.976e-06/1.18, allocations: 0 / 1.431 GB, free: 4.375 MB / 1.092 GB Notification: Performance of matching and sorting (n=83): time 0.05236/1.233, allocations: 18.98 MB / 1.45 GB, free: 1.312 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/1.233, allocations: 162.9 kB / 1.45 GB, free: 1.117 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003234/1.236, allocations: 2.032 MB / 1.452 GB, free: 15.04 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/1.236, allocations: 45.7 kB / 1.452 GB, free: 14.99 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/1.237, allocations: 0.8825 MB / 1.453 GB, free: 14.1 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/1.237, allocations: 309.4 kB / 1.453 GB, free: 13.8 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005386/1.238, allocations: 347.4 kB / 1.453 GB, free: 13.45 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/1.238, allocations: 301.1 kB / 1.454 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/1.239, allocations: 0.6481 MB / 1.454 GB, free: 12.51 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/1.241, allocations: 1.066 MB / 1.455 GB, free: 11.28 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/1.244, allocations: 1.633 MB / 1.457 GB, free: 9.504 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.244, allocations: 4 kB / 1.457 GB, free: 9.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004494/1.248, allocations: 2.128 MB / 1.459 GB, free: 7.355 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/1.248, allocations: 8 kB / 1.459 GB, free: 7.348 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.248, allocations: 12 kB / 1.459 GB, free: 7.336 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007581/1.249, allocations: 218 kB / 1.459 GB, free: 7.117 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.25, allocations: 323.5 kB / 1.46 GB, free: 6.801 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/1.255, allocations: 4.149 MB / 1.464 GB, free: 2.375 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.257, allocations: 108 kB / 1.464 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/1.257, allocations: 63.98 kB / 1.464 GB, free: 2.207 MB / 1.123 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.001024/1.258, allocations: 0.5754 MB / 1.464 GB, free: 1.621 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007703/1.259, allocations: 202.6 kB / 1.465 GB, free: 1.422 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/1.263, allocations: 1.487 MB / 1.466 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/1.263, allocations: 8 kB / 1.466 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.263, allocations: 4 kB / 1.466 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002525/1.265, allocations: 1.269 MB / 1.467 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02479/1.29, allocations: 9.324 MB / 1.476 GB, free: 4.938 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.29, allocations: 4 kB / 1.476 GB, free: 4.934 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/1.291, allocations: 184.2 kB / 1.477 GB, free: 4.754 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005558/1.291, allocations: 160.7 kB / 1.477 GB, free: 4.594 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.639e-05/1.291, allocations: 31.98 kB / 1.477 GB, free: 4.562 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/1.294, allocations: 2.386 MB / 1.479 GB, free: 2.039 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.294, allocations: 7.938 kB / 1.479 GB, free: 2.031 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/1.299, allocations: 1.901 MB / 1.481 GB, free: 40 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009877/1.3, allocations: 419.6 kB / 1.481 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/1.3, allocations: 24 kB / 1.481 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.302, allocations: 79.92 kB / 1.481 GB, free: 15.51 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.302, allocations: 84.28 kB / 1.482 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/1.302, allocations: 35.98 kB / 1.482 GB, free: 15.39 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002564/1.304, allocations: 1.41 MB / 1.483 GB, free: 13.96 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.2e-07/1.304, allocations: 0 / 1.483 GB, free: 13.96 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004572/1.309, allocations: 1.397 MB / 1.484 GB, free: 12.56 MB / 1.154 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.01158/1.321, allocations: 3.689 MB / 1.488 GB, free: 8.945 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003841/1.325, allocations: 1.656 MB / 1.49 GB, free: 7.266 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.325, allocations: 0 / 1.49 GB, free: 7.266 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/1.326, allocations: 0.6444 MB / 1.49 GB, free: 6.609 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004584/1.331, allocations: 0.9576 MB / 1.491 GB, free: 5.684 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02977/1.361, allocations: 15.89 MB / 1.507 GB, free: 5.133 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/1.362, allocations: 1.498 MB / 1.508 GB, free: 3.605 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001671/1.364, allocations: 410.2 kB / 1.508 GB, free: 3.223 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.365, allocations: 0.7843 MB / 1.509 GB, free: 2.438 MB / 1.17 GB Notification: Performance of SimCode: time 1.553e-06/1.365, allocations: 4 kB / 1.509 GB, free: 2.434 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/1.5, allocations: 88.23 MB / 1.595 GB, free: 10.95 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/17, allocations: 7.859 kB / 1.595 GB, free: 10.94 MB / 1.264 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