Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_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.002014/0.002014, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.28 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2374, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003443/0.2409, allocations: 2.218 MB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.243, allocations: 1.54 MB / 1.057 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.2433, allocations: 8 kB / 1.057 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.2434, allocations: 59.2 kB / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.2437, allocations: 91.08 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.2444, allocations: 294.8 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.2449, allocations: 0.6449 MB / 1.058 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.2453, allocations: 365.7 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.2456, allocations: 223.2 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.2458, allocations: 254.7 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.703e-05/0.2459, allocations: 72 kB / 1.059 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.246, allocations: 91.97 kB / 1.059 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-05/0.2461, allocations: 127.5 kB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.2464, allocations: 294.5 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.247, allocations: 0.7595 MB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.247, allocations: 7.984 kB / 1.06 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.247, allocations: 0 / 1.06 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.247, allocations: 0 / 1.06 GB, free: 1.207 MB / 0.8106 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.001045/0.2481, allocations: 0.8051 MB / 1.061 GB, free: 348 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2481, allocations: 8.625 kB / 1.061 GB, free: 340 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.604e-05/0.2482, allocations: 102.7 kB / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.039e-05/0.2483, allocations: 60.28 kB / 1.061 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.2487, allocations: 355.7 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.2488, allocations: 41.69 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.2488, allocations: 56.38 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.2496, allocations: 0.507 MB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2496, allocations: 3.938 kB / 1.062 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.2497, allocations: 23.98 kB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.2497, allocations: 20 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.2503, allocations: 356.7 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.2522, allocations: 1.465 MB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.2527, allocations: 289.4 kB / 1.064 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.2531, allocations: 181.6 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.2531, allocations: 7.938 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.2535, allocations: 198.8 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.2535, allocations: 8 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0007884/0.2543, allocations: 380.5 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.2544, allocations: 93.03 kB / 1.065 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/0.2548, allocations: 409.5 kB / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.2548, allocations: 33.7 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.255, allocations: 267.9 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.2551, allocations: 118.3 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.2552, allocations: 82.12 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2554, allocations: 350.7 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.2557, allocations: 140.7 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.256, allocations: 203.2 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/0.2566, allocations: 340.2 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2566, allocations: 4 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008063/0.2574, allocations: 472 kB / 1.067 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.2574, allocations: 37.7 kB / 1.067 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2574, allocations: 4.188 kB / 1.067 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2575, allocations: 8 kB / 1.067 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2578, allocations: 75.89 kB / 1.067 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2578, allocations: 7.938 kB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.2582, allocations: 83.23 kB / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.2582, allocations: 20 kB / 1.067 GB, free: 9.34 MB / 0.8262 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.000175/0.2584, allocations: 169.7 kB / 1.067 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.2584, allocations: 39.53 kB / 1.067 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.2591, allocations: 330.8 kB / 1.068 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.2591, allocations: 7.938 kB / 1.068 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2591, allocations: 4 kB / 1.068 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2591, allocations: 0 / 1.068 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.2601, allocations: 0.9729 MB / 1.069 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2602, allocations: 0 / 1.069 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.2604, allocations: 60.09 kB / 1.069 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2604, allocations: 8 kB / 1.069 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2604, allocations: 8 kB / 1.069 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2604, allocations: 3.984 kB / 1.069 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2604, allocations: 4 kB / 1.069 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.261, allocations: 0.5092 MB / 1.069 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.2611, allocations: 132.5 kB / 1.069 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.2612, allocations: 8 kB / 1.069 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2614, allocations: 12 kB / 1.069 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.2614, allocations: 31.91 kB / 1.069 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.2615, allocations: 11.98 kB / 1.069 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002795/0.2617, allocations: 299.1 kB / 1.07 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2618, allocations: 3.938 kB / 1.07 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004103/0.2622, allocations: 103.7 kB / 1.07 GB, free: 6.508 MB / 0.8262 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.0008435/0.263, allocations: 1.06 MB / 1.071 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006577/0.2637, allocations: 391.6 kB / 1.071 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2637, allocations: 3.938 kB / 1.071 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.264, allocations: 144.5 kB / 1.071 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.2645, allocations: 65.45 kB / 1.071 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.2691, allocations: 3.792 MB / 1.075 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.2695, allocations: 0.8237 MB / 1.076 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.2696, allocations: 47.25 kB / 1.076 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.2698, allocations: 161.6 kB / 1.076 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.2699, allocations: 0 / 1.076 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.2935, allocations: 7.123 MB / 1.083 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.317, allocations: 8.047 kB / 1.083 GB, free: 8.863 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches