Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.009129/0.009129, allocations: 101 kB / 15.73 MB, free: 6.055 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.002395/0.002395, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.649/2.649, allocations: 437 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269/1.271, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003299/1.275, allocations: 1.825 MB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003425/1.275, allocations: 119.6 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/1.275, allocations: 4 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/1.275, allocations: 11.86 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/1.275, allocations: 51.48 kB / 1.168 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/1.276, allocations: 31.95 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/1.276, allocations: 171.2 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/1.276, allocations: 25.11 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/1.276, allocations: 47.86 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/1.276, allocations: 71.62 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/1.276, allocations: 12 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.797e-05/1.276, allocations: 8 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/1.276, allocations: 31.89 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.975e-05/1.276, allocations: 63.67 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/1.277, allocations: 131.1 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.277, allocations: 0 / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.485e-06/1.277, allocations: 0 / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.277, allocations: 0 / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008927/1.278, allocations: 458.7 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.278, allocations: 16.92 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/1.278, allocations: 42.69 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/1.278, allocations: 12.89 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/1.278, allocations: 204.1 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.278, allocations: 8.375 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/1.278, allocations: 4.375 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/1.278, allocations: 123.9 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/1.279, allocations: 7.938 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.279, allocations: 0 / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.279, allocations: 3.984 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/1.279, allocations: 99.86 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/1.28, allocations: 468.8 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/1.28, allocations: 129.2 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/1.28, allocations: 61.72 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/1.28, allocations: 8 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.28, allocations: 34.56 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/1.28, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0006097/1.281, allocations: 181.5 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/1.281, allocations: 81.11 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/1.281, allocations: 174.4 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/1.281, allocations: 29.64 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/1.281, allocations: 112.1 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/1.281, allocations: 31.81 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/1.282, allocations: 21.7 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.282, allocations: 330.8 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/1.282, allocations: 43.97 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/1.282, allocations: 53.69 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/1.282, allocations: 105.6 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.282, allocations: 4 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003575/1.283, allocations: 149.7 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.283, allocations: 8 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.283, allocations: 0 / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.283, allocations: 0 / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/1.283, allocations: 23.98 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.283, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/1.283, allocations: 23.81 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/1.283, allocations: 4.188 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.283, allocations: 117.8 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/1.283, allocations: 15.89 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/1.284, allocations: 162.5 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/1.284, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.284, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/1.284, allocations: 7.938 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/1.284, allocations: 217.5 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.284, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/1.284, allocations: 27.91 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.284, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/1.284, allocations: 8 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.284, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.284, allocations: 3.984 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/1.285, allocations: 318.6 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/1.285, allocations: 92.98 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/1.285, allocations: 0 / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.285, allocations: 4 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/1.285, allocations: 16.16 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/1.285, allocations: 4 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001199/1.285, allocations: 136.2 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.285, allocations: 4 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000281/1.286, allocations: 24 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007684/1.286, allocations: 0.8446 MB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003761/1.287, allocations: 111.9 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.287, allocations: 0 / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/1.287, allocations: 55.91 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/1.287, allocations: 40.05 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/1.29, allocations: 1.825 MB / 1.175 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/1.29, allocations: 0.7006 MB / 1.176 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.932e-05/1.29, allocations: 16.64 kB / 1.176 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/1.29, allocations: 35.42 kB / 1.176 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of SimCode: time 8.41e-07/1.29, allocations: 0 / 1.176 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/1.317, allocations: 3.644 MB / 1.18 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/9.857, allocations: 4.969 kB / 1.18 GB, free: 5.41 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches