Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_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.00132/0.00132, allocations: 108 kB / 15.6 MB, free: 132 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.001279/0.001279, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.643/2.643, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 65.59 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2386, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003343/0.2419, allocations: 2.207 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.244, allocations: 1.524 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.2443, allocations: 8 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.2444, allocations: 67.19 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.2447, allocations: 87.09 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.2453, allocations: 298.2 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006184/0.2459, allocations: 0.641 MB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.2464, allocations: 361.7 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.2466, allocations: 239.1 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.2469, allocations: 250.8 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.138e-05/0.247, allocations: 72 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.2471, allocations: 79.98 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2472, allocations: 135.5 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.2475, allocations: 290.6 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006576/0.2481, allocations: 0.7634 MB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2481, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2482, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.2482, allocations: 0 / 1.071 GB, free: 7.16 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.001114/0.2493, allocations: 0.8168 MB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.2493, allocations: 8.031 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.965e-05/0.2494, allocations: 94.7 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.2495, allocations: 64.28 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.2499, allocations: 363.6 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.25, allocations: 45.69 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.2501, allocations: 56.38 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007635/0.2508, allocations: 0.5031 MB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2508, allocations: 3.938 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.2509, allocations: 24 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.2509, allocations: 16 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.2515, allocations: 356.6 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.2534, allocations: 1.457 MB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.254, allocations: 293.8 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.2544, allocations: 173.8 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.2544, allocations: 23.84 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/0.2548, allocations: 198.9 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.2548, allocations: 0 / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0007615/0.2555, allocations: 392.9 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2556, allocations: 81.11 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.256, allocations: 413.5 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.2561, allocations: 33.7 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.2562, allocations: 259.9 kB / 1.076 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.2563, allocations: 122.3 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.2565, allocations: 78.12 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2566, allocations: 354.7 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.2569, allocations: 140.8 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.2572, allocations: 199.1 kB / 1.077 GB, free: 380 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.2578, allocations: 342.3 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2578, allocations: 0 / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008148/0.2586, allocations: 478.9 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.2587, allocations: 37.7 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2587, allocations: 4 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2587, allocations: 4 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.259, allocations: 83.83 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.259, allocations: 7.938 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.2594, allocations: 87.45 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2594, allocations: 16 kB / 1.078 GB, free: 15.29 MB / 0.8419 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.0001787/0.2596, allocations: 173.8 kB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.2596, allocations: 39.52 kB / 1.078 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.2602, allocations: 330.3 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.2603, allocations: 7.938 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2603, allocations: 4 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2603, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.2614, allocations: 0.9693 MB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2614, allocations: 0 / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.2617, allocations: 67.91 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.2617, allocations: 7.984 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.2617, allocations: 8 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2617, allocations: 0 / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2617, allocations: 8.125 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.2623, allocations: 0.5093 MB / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.2624, allocations: 128.5 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.2625, allocations: 8 kB / 1.08 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.2627, allocations: 19.92 kB / 1.08 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.2628, allocations: 23.91 kB / 1.08 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.2628, allocations: 12 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002851/0.2631, allocations: 295.2 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2631, allocations: 0 / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000398/0.2635, allocations: 111.7 kB / 1.081 GB, free: 12.45 MB / 0.8419 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.000919/0.2644, allocations: 1.062 MB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006591/0.2651, allocations: 391.1 kB / 1.082 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2651, allocations: 0 / 1.082 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.2654, allocations: 143.7 kB / 1.082 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.2659, allocations: 70.16 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.2705, allocations: 3.799 MB / 1.086 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.2709, allocations: 0.8198 MB / 1.087 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.2711, allocations: 43.27 kB / 1.087 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.2713, allocations: 159.4 kB / 1.087 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.2713, allocations: 0 / 1.087 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.292/1.563, allocations: 7.114 MB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.87, allocations: 10.08 kB / 1.094 GB, free: 14.78 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches