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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008975/0.0008975, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005197/0.005197, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.225/1.225, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.307/2.307, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003509, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5363, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001786/0.5382, allocations: 1.534 MB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000266/0.5384, allocations: 123.5 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.5385, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.413e-05/0.5386, allocations: 11.86 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.5387, allocations: 43.62 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.5388, allocations: 27.97 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.539, allocations: 171.1 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.5391, allocations: 21.12 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.5392, allocations: 47.78 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.5393, allocations: 63.75 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.5394, allocations: 11.94 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.5394, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.5394, allocations: 11.92 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.5395, allocations: 89.38 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.5396, allocations: 121.8 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5397, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5397, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5397, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 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.0006574/0.5403, allocations: 447 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.5404, allocations: 8.031 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.5404, allocations: 42.73 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.5405, allocations: 16.75 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.5407, allocations: 204 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.5407, allocations: 8.375 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.5407, allocations: 4.375 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.541, allocations: 129.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.541, allocations: 3.938 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.541, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.541, allocations: 4 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.5414, allocations: 111.9 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.542, allocations: 484.6 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.5424, allocations: 129.2 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.5425, allocations: 69.78 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.5426, allocations: 3.938 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.5426, allocations: 38.56 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.465e-06/0.5426, allocations: 7.984 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005677/0.5432, allocations: 205.4 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.5432, allocations: 81.11 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.5434, allocations: 166.9 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5434, allocations: 25.7 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.5435, allocations: 108 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.5435, allocations: 31.55 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.5435, allocations: 13.72 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5437, allocations: 334.8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.5438, allocations: 43.97 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.544, allocations: 65.62 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.5443, allocations: 125.6 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5443, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000358/0.5446, allocations: 161.4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5447, allocations: 8 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5447, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.5447, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.5448, allocations: 31.98 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5448, allocations: 7.984 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.545, allocations: 19.78 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.545, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 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 9.016e-05/0.5451, allocations: 123.9 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.5451, allocations: 15.81 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.5456, allocations: 166.5 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.5456, allocations: 8 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5456, allocations: 448 / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5456, allocations: 3.938 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.5459, allocations: 221.6 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5459, allocations: 4 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.546, allocations: 31.92 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.546, allocations: 0 / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.546, allocations: 0 / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.546, allocations: 4 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5461, allocations: 4 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.5465, allocations: 334.5 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.5465, allocations: 89 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.5465, allocations: 0 / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5467, allocations: 15.98 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.5468, allocations: 7.938 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.5468, allocations: 7.984 kB / 1.029 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.369e-05/0.5469, allocations: 125.2 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5469, allocations: 4 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002696/0.5472, allocations: 31.94 kB / 1.029 GB, free: 8.945 MB / 0.7794 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.0006534/0.5478, allocations: 0.8602 MB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.5481, allocations: 115.9 kB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5482, allocations: 0 / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.5483, allocations: 63.91 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.5488, allocations: 47.91 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.5508, allocations: 1.889 MB / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.5511, allocations: 0.7089 MB / 1.033 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.157e-05/0.5512, allocations: 12.64 kB / 1.033 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.5512, allocations: 35.42 kB / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5512, allocations: 0 / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4069/0.9581, allocations: 3.241 MB / 1.036 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.9584, allocations: 227.6 kB / 1.037 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.614, allocations: 1.562 kB / 1.037 GB, free: 1.777 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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