Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_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.009029/0.009029, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001982/0.001982, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.433/2.433, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.88 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8429/0.8443, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00374/0.8481, allocations: 2.219 MB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002478/0.8506, allocations: 1.529 MB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.851, allocations: 8 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.8512, allocations: 63.25 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.8516, allocations: 95.03 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.8523, allocations: 299 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.853, allocations: 0.6449 MB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.8536, allocations: 361.8 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.8539, allocations: 231.2 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.8542, allocations: 262.7 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.8543, allocations: 72 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.8544, allocations: 83.98 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.8546, allocations: 127.6 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.8548, allocations: 294.5 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006772/0.8555, allocations: 0.7962 MB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8555, allocations: 0 / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8555, allocations: 4 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.8556, allocations: 0 / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001196/0.8568, allocations: 0.8129 MB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.8568, allocations: 12.86 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.085e-05/0.8569, allocations: 90.7 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.857, allocations: 60.28 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.8575, allocations: 367.6 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.8575, allocations: 49.62 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.8576, allocations: 56.38 kB / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/0.8584, allocations: 0.4992 MB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.8584, allocations: 7.938 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.8585, allocations: 24 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.8585, allocations: 12 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007118/0.8593, allocations: 360.6 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.8614, allocations: 1.445 MB / 1.177 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.862, allocations: 277.4 kB / 1.177 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.8624, allocations: 185.6 kB / 1.177 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.8625, allocations: 7.984 kB / 1.177 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/0.8629, allocations: 199.4 kB / 1.177 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.8629, allocations: 0 / 1.177 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34): time 0.0007805/0.8637, allocations: 395 kB / 1.178 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.8637, allocations: 81.11 kB / 1.178 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.8641, allocations: 413.5 kB / 1.178 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.8642, allocations: 33.7 kB / 1.178 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.8644, allocations: 267.8 kB / 1.178 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.559e-05/0.8645, allocations: 106.5 kB / 1.179 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.8646, allocations: 90.11 kB / 1.179 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8648, allocations: 350.7 kB / 1.179 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.8651, allocations: 132.8 kB / 1.179 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.8654, allocations: 203.2 kB / 1.179 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.866, allocations: 349.1 kB / 1.18 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.866, allocations: 4 kB / 1.18 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008264/0.8668, allocations: 463.1 kB / 1.18 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.8669, allocations: 41.69 kB / 1.18 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.8669, allocations: 4 kB / 1.18 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.8669, allocations: 8.125 kB / 1.18 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.8672, allocations: 79.91 kB / 1.18 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.8672, allocations: 15.86 kB / 1.18 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.8676, allocations: 71.34 kB / 1.18 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.8676, allocations: 27.98 kB / 1.18 GB, free: 4.848 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001746/0.8678, allocations: 165.8 kB / 1.18 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.8678, allocations: 35.53 kB / 1.181 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.8685, allocations: 339.7 kB / 1.181 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.8685, allocations: 7.938 kB / 1.181 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8685, allocations: 0 / 1.181 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.8685, allocations: 7.984 kB / 1.181 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.8697, allocations: 0.9666 MB / 1.182 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8697, allocations: 0 / 1.182 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.8699, allocations: 63.91 kB / 1.182 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.8699, allocations: 3.984 kB / 1.182 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.8699, allocations: 8.188 kB / 1.182 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.87, allocations: 8 kB / 1.182 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.87, allocations: 4 kB / 1.182 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.8706, allocations: 0.5121 MB / 1.182 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.8707, allocations: 128.6 kB / 1.183 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.8708, allocations: 8 kB / 1.183 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.871, allocations: 11.98 kB / 1.183 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.871, allocations: 35.84 kB / 1.183 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.8711, allocations: 8 kB / 1.183 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002812/0.8714, allocations: 287.2 kB / 1.183 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8714, allocations: 0 / 1.183 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004325/0.8718, allocations: 107.7 kB / 1.183 GB, free: 2.027 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008984/0.8727, allocations: 1.068 MB / 1.184 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006679/0.8734, allocations: 387.9 kB / 1.184 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8734, allocations: 0 / 1.184 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.8736, allocations: 135.8 kB / 1.184 GB, free: 396 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.8742, allocations: 70.16 kB / 1.185 GB, free: 328 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.8791, allocations: 3.765 MB / 1.188 GB, free: 12.39 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.8795, allocations: 0.8237 MB / 1.189 GB, free: 11.54 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.8797, allocations: 43.27 kB / 1.189 GB, free: 11.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.8799, allocations: 159.4 kB / 1.189 GB, free: 11.35 MB / 0.92 GB Notification: Performance of SimCode: time 4.21e-07/0.8799, allocations: 0 / 1.189 GB, free: 11.35 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.9081, allocations: 7.219 MB / 1.196 GB, free: 4.328 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/9.291, allocations: 9.578 kB / 1.196 GB, free: 4.32 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches