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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001019/0.001019, allocations: 98.27 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.007576/0.007576, allocations: 170.6 kB / 16.27 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.257/1.257, 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 11.0.0-master/package.mo): time 2.482/2.482, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 12.75 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2455, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002127/0.2477, allocations: 1.853 MB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2494, allocations: 1.505 MB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.2495, allocations: 8 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.013e-05/0.2496, allocations: 35.58 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.2498, allocations: 71.45 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.2504, allocations: 262.6 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.2508, allocations: 0.5707 MB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.2512, allocations: 345.8 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.2514, allocations: 147.2 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.2515, allocations: 174.9 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.2516, allocations: 16 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.2517, allocations: 31.92 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.2517, allocations: 63.64 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.2519, allocations: 240.3 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.2524, allocations: 0.7085 MB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2524, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2524, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2524, allocations: 3.938 kB / 1.065 GB, free: 14.87 MB / 0.8262 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.0009072/0.2533, allocations: 0.7154 MB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2534, allocations: 12.03 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.357e-05/0.2535, allocations: 94.7 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.453e-05/0.2536, allocations: 60.28 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.2539, allocations: 355.7 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.254, allocations: 41.69 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.254, allocations: 56.38 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.2548, allocations: 0.5186 MB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2548, allocations: 7.938 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.2549, allocations: 23.98 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2549, allocations: 12 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.2555, allocations: 372.7 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.2573, allocations: 1.465 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.2578, allocations: 293.3 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.2581, allocations: 185.6 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.2582, allocations: 11.98 kB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.2585, allocations: 198.9 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.2585, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0007593/0.2593, allocations: 412.7 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2594, allocations: 81.11 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.2598, allocations: 413.5 kB / 1.07 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.2598, allocations: 33.7 kB / 1.07 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.26, allocations: 271.9 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.26, allocations: 118.3 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.2601, allocations: 41.64 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2602, allocations: 358.7 kB / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.2605, allocations: 132.8 kB / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.2608, allocations: 215.2 kB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.2614, allocations: 347.4 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2614, allocations: 4 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000773/0.2622, allocations: 482.3 kB / 1.072 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.2622, allocations: 43.25 kB / 1.072 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2622, allocations: 4.188 kB / 1.072 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2622, allocations: 4 kB / 1.072 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.2625, allocations: 83.84 kB / 1.072 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2626, allocations: 7.938 kB / 1.072 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.2629, allocations: 87.39 kB / 1.072 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.263, allocations: 23.98 kB / 1.072 GB, free: 7.031 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.0001642/0.2631, allocations: 173.7 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.2632, allocations: 43.44 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005976/0.2638, allocations: 340.9 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.2638, allocations: 7.938 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2638, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2638, allocations: 7.984 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.2649, allocations: 0.9786 MB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.2649, allocations: 192 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.2651, allocations: 67.91 kB / 1.074 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.2651, allocations: 7.938 kB / 1.074 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2652, allocations: 8 kB / 1.074 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2652, allocations: 4 kB / 1.074 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2652, allocations: 0 / 1.074 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.2658, allocations: 0.5255 MB / 1.074 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.2659, allocations: 128.6 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.2659, allocations: 8 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.2661, allocations: 15.98 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.2662, allocations: 27.91 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2662, allocations: 12 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002531/0.2665, allocations: 291.2 kB / 1.075 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2665, allocations: 0 / 1.075 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000394/0.2669, allocations: 103.7 kB / 1.075 GB, free: 4.168 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.0008085/0.2677, allocations: 1.08 MB / 1.076 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006123/0.2683, allocations: 388.6 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2683, allocations: 384 / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.2686, allocations: 143.8 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006175/0.2692, allocations: 77.7 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.2737, allocations: 4.006 MB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.274, allocations: 0.8198 MB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.2742, allocations: 43.27 kB / 1.081 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.2743, allocations: 159.4 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.2744, allocations: 4 kB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.2899, allocations: 6.669 MB / 1.088 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.2901, allocations: 254.6 kB / 1.088 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.997, allocations: 0 / 1.088 GB, free: 6.531 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