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.007698/0.007698, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001366/0.001366, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.354/1.354, 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 11.0.1-master/package.mo): time 2.55/2.55, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 75.88 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7901, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003364/0.7935, allocations: 2.219 MB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.796, allocations: 1.528 MB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004083/0.7965, allocations: 8 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.7967, allocations: 63.19 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.7971, allocations: 83.11 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008436/0.7979, allocations: 307.5 kB / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008937/0.7988, allocations: 0.641 MB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005948/0.7994, allocations: 361.8 kB / 1.212 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000371/0.7998, allocations: 235.1 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.8002, allocations: 258.2 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.8003, allocations: 72 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.8004, allocations: 79.98 kB / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.8006, allocations: 131.5 kB / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.8008, allocations: 294.6 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008311/0.8017, allocations: 0.7962 MB / 1.214 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8017, allocations: 0 / 1.214 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8017, allocations: 0 / 1.214 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.8017, allocations: 0 / 1.214 GB, free: 6.492 MB / 0.9356 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.001505/0.8032, allocations: 0.8168 MB / 1.215 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.8033, allocations: 8.031 kB / 1.215 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.44e-05/0.8034, allocations: 98.62 kB / 1.215 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.8035, allocations: 60.28 kB / 1.215 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.804, allocations: 355.6 kB / 1.215 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/0.8041, allocations: 49.67 kB / 1.215 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.8041, allocations: 56.38 kB / 1.216 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008284/0.805, allocations: 0.5031 MB / 1.216 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.805, allocations: 7.938 kB / 1.216 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.8051, allocations: 24 kB / 1.216 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.8051, allocations: 12 kB / 1.216 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.8057, allocations: 352.7 kB / 1.216 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.8079, allocations: 1.457 MB / 1.218 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.8085, allocations: 283.1 kB / 1.218 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.8089, allocations: 185.6 kB / 1.218 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.809, allocations: 4 kB / 1.218 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005044/0.8095, allocations: 195 kB / 1.218 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.8095, allocations: 0 / 1.218 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0009148/0.8104, allocations: 393.5 kB / 1.219 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.8105, allocations: 85.05 kB / 1.219 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.811, allocations: 413.5 kB / 1.219 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.811, allocations: 37.7 kB / 1.219 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.8112, allocations: 267.8 kB / 1.22 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-05/0.8113, allocations: 110.5 kB / 1.22 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.8115, allocations: 78.12 kB / 1.22 GB, free: 448 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8116, allocations: 354.7 kB / 1.22 GB, free: 84 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.812, allocations: 132.9 kB / 1.22 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.8123, allocations: 207.1 kB / 1.22 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.8129, allocations: 340.2 kB / 1.221 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8129, allocations: 4 kB / 1.221 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008786/0.8138, allocations: 470.7 kB / 1.221 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.8138, allocations: 49.62 kB / 1.221 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.8138, allocations: 4 kB / 1.221 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.8139, allocations: 4 kB / 1.221 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.8142, allocations: 75.91 kB / 1.221 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.8142, allocations: 11.94 kB / 1.221 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.8146, allocations: 75.33 kB / 1.221 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.8147, allocations: 23.94 kB / 1.221 GB, free: 14.64 MB / 0.9512 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.0002052/0.8149, allocations: 177.7 kB / 1.222 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.8149, allocations: 39.52 kB / 1.222 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006313/0.8156, allocations: 325 kB / 1.222 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.8156, allocations: 7.938 kB / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8156, allocations: 3.938 kB / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.8156, allocations: 4 kB / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.8168, allocations: 0.9628 MB / 1.223 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8168, allocations: 4.125 kB / 1.223 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.817, allocations: 67.91 kB / 1.223 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.817, allocations: 3.984 kB / 1.223 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.8171, allocations: 8 kB / 1.223 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.8171, allocations: 4 kB / 1.223 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8171, allocations: 4 kB / 1.223 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.8177, allocations: 0.513 MB / 1.223 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.8178, allocations: 128.6 kB / 1.224 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.8179, allocations: 8 kB / 1.224 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.8181, allocations: 15.98 kB / 1.224 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.8182, allocations: 27.91 kB / 1.224 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.8182, allocations: 8 kB / 1.224 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002976/0.8185, allocations: 287.2 kB / 1.224 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8185, allocations: 0 / 1.224 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004414/0.819, allocations: 115.7 kB / 1.224 GB, free: 11.82 MB / 0.9512 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.0009167/0.8199, allocations: 1.068 MB / 1.225 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000661/0.8206, allocations: 375.1 kB / 1.225 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.8206, allocations: 4 kB / 1.225 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.8208, allocations: 146.4 kB / 1.226 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.8214, allocations: 69.45 kB / 1.226 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.8261, allocations: 3.761 MB / 1.229 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.8264, allocations: 0.8237 MB / 1.23 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000161/0.8266, allocations: 47.2 kB / 1.23 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.8268, allocations: 155.4 kB / 1.23 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of SimCode: time 4.6e-07/0.8268, allocations: 4 kB / 1.23 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.8509, allocations: 7.358 MB / 1.238 GB, free: 14 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/9.098, allocations: 8.734 kB / 1.238 GB, free: 13.99 MB / 0.9669 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