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.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.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.0009492/0.0009493, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005005/0.005005, allocations: 169 kB / 16.26 MB, free: 6.652 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.36/2.36, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002922, allocations: 8 kB / 0.873 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/0.548, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002065/0.5501, allocations: 1.843 MB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.5521, allocations: 1.494 MB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.5524, allocations: 8 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.53e-05/0.5525, allocations: 35.58 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.5528, allocations: 67.45 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.5534, allocations: 272.9 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.554, allocations: 0.5863 MB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.5544, allocations: 333.8 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.5546, allocations: 147.2 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.5548, allocations: 178.8 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.5549, allocations: 12 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.555, allocations: 35.97 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.555, allocations: 63.64 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.5552, allocations: 240.3 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.5558, allocations: 0.7105 MB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5558, allocations: 4 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5558, allocations: 0 / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.5558, allocations: 0 / 1.029 GB, free: 9.816 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0009589/0.5568, allocations: 0.7154 MB / 1.03 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.5568, allocations: 8.031 kB / 1.03 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.705e-05/0.5569, allocations: 102.7 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.057e-05/0.557, allocations: 60.28 kB / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.5574, allocations: 355.6 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.5574, allocations: 41.69 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.5575, allocations: 56.38 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000805/0.5583, allocations: 0.5109 MB / 1.031 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5583, allocations: 3.938 kB / 1.031 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.5584, allocations: 24 kB / 1.031 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.5584, allocations: 16 kB / 1.031 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006684/0.5591, allocations: 372.6 kB / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.5609, allocations: 1.461 MB / 1.033 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.5615, allocations: 297.4 kB / 1.033 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.5619, allocations: 193.6 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.5619, allocations: 4 kB / 1.033 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/0.5622, allocations: 206.9 kB / 1.033 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.5622, allocations: 0 / 1.033 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0007978/0.563, allocations: 408.8 kB / 1.034 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.5631, allocations: 85.11 kB / 1.034 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.5635, allocations: 409.6 kB / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.5636, allocations: 33.7 kB / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.5637, allocations: 267.9 kB / 1.034 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.131e-05/0.5638, allocations: 110.4 kB / 1.035 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.5639, allocations: 49.69 kB / 1.035 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.564, allocations: 354.7 kB / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.5643, allocations: 136.8 kB / 1.035 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.5646, allocations: 211.2 kB / 1.035 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.5652, allocations: 359.9 kB / 1.036 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5652, allocations: 0 / 1.036 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007883/0.566, allocations: 478.6 kB / 1.036 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.5661, allocations: 41.69 kB / 1.036 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5661, allocations: 7.984 kB / 1.036 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5661, allocations: 4 kB / 1.036 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.5664, allocations: 80.09 kB / 1.036 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.5664, allocations: 15.86 kB / 1.036 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.5668, allocations: 87.34 kB / 1.036 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.5668, allocations: 19.98 kB / 1.036 GB, free: 1.988 MB / 0.7794 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.000163/0.567, allocations: 169.8 kB / 1.036 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.567, allocations: 39.53 kB / 1.037 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/0.5676, allocations: 340.9 kB / 1.037 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5677, allocations: 7.938 kB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5677, allocations: 4 kB / 1.037 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5677, allocations: 3.984 kB / 1.037 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.5687, allocations: 0.9802 MB / 1.038 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5688, allocations: 4 kB / 1.038 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.569, allocations: 59.91 kB / 1.038 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.569, allocations: 8.188 kB / 1.038 GB, free: 304 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.569, allocations: 8 kB / 1.038 GB, free: 296 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.569, allocations: 3.938 kB / 1.038 GB, free: 292 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.569, allocations: 4 kB / 1.038 GB, free: 288 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/0.5696, allocations: 0.5239 MB / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.5697, allocations: 124.6 kB / 1.039 GB, free: 15.58 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.5698, allocations: 12 kB / 1.039 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.57, allocations: 15.98 kB / 1.039 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.5701, allocations: 31.84 kB / 1.039 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.5701, allocations: 12 kB / 1.039 GB, free: 15.51 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002649/0.5704, allocations: 291.2 kB / 1.039 GB, free: 15.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5704, allocations: 0 / 1.039 GB, free: 15.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004/0.5708, allocations: 107.7 kB / 1.039 GB, free: 15.12 MB / 0.795 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.0008241/0.5716, allocations: 1.083 MB / 1.04 GB, free: 14 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006191/0.5722, allocations: 392.1 kB / 1.04 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5722, allocations: 4 kB / 1.04 GB, free: 13.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.5725, allocations: 148.5 kB / 1.041 GB, free: 13.46 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.5731, allocations: 61.47 kB / 1.041 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.5777, allocations: 4.012 MB / 1.045 GB, free: 9.211 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.578, allocations: 0.8198 MB / 1.045 GB, free: 8.367 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.5782, allocations: 47.25 kB / 1.045 GB, free: 8.324 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.5784, allocations: 155.4 kB / 1.046 GB, free: 8.172 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.5784, allocations: 0 / 1.046 GB, free: 8.172 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.749/4.328, allocations: 6.69 MB / 1.052 GB, free: 1.707 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003799/4.328, allocations: 245.4 kB / 1.052 GB, free: 1.449 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/6.142, allocations: 0 / 1.052 GB, free: 1.449 MB / 0.795 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