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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 104.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.333/3.333, allocations: 497.2 MB / 0.7811 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 73.92 kB / 1.134 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3928, allocations: 173.9 MB / 1.304 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003854/0.3966, allocations: 2.216 MB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.3991, allocations: 1.544 MB / 1.308 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.3994, allocations: 8 kB / 1.308 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.3996, allocations: 59.2 kB / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.3998, allocations: 95.08 kB / 1.308 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.4006, allocations: 295.5 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006799/0.4013, allocations: 0.6409 MB / 1.309 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.4017, allocations: 269.8 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.402, allocations: 227.2 kB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.4022, allocations: 258.5 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-05/0.4023, allocations: 72 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.4025, allocations: 83.98 kB / 1.31 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.4026, allocations: 135.5 kB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.4029, allocations: 290.6 kB / 1.31 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008954/0.4038, allocations: 0.7977 MB / 1.311 GB, free: 10.67 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4038, allocations: 0 / 1.311 GB, free: 10.67 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4038, allocations: 0 / 1.311 GB, free: 10.67 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.4038, allocations: 3.938 kB / 1.311 GB, free: 10.66 MB / 1.014 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.001347/0.4051, allocations: 0.8239 MB / 1.312 GB, free: 9.777 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4052, allocations: 8.922 kB / 1.312 GB, free: 9.77 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.4053, allocations: 98.7 kB / 1.312 GB, free: 9.664 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4054, allocations: 64.56 kB / 1.312 GB, free: 9.602 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.4059, allocations: 359.8 kB / 1.312 GB, free: 9.215 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.4059, allocations: 41.69 kB / 1.312 GB, free: 9.176 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.406, allocations: 60.38 kB / 1.312 GB, free: 9.117 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.4069, allocations: 0.503 MB / 1.313 GB, free: 8.598 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4069, allocations: 3.938 kB / 1.313 GB, free: 8.594 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.407, allocations: 28 kB / 1.313 GB, free: 8.566 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.407, allocations: 12 kB / 1.313 GB, free: 8.555 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.4077, allocations: 356.7 kB / 1.313 GB, free: 8.203 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.4099, allocations: 1.454 MB / 1.314 GB, free: 6.691 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.4105, allocations: 265.2 kB / 1.315 GB, free: 6.414 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.4109, allocations: 165.8 kB / 1.315 GB, free: 6.246 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.4109, allocations: 7.938 kB / 1.315 GB, free: 6.238 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000466/0.4114, allocations: 202.9 kB / 1.315 GB, free: 6.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.4114, allocations: 0 / 1.315 GB, free: 6.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.0008764/0.4123, allocations: 390.8 kB / 1.315 GB, free: 5.633 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.4123, allocations: 85.09 kB / 1.316 GB, free: 5.531 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.4128, allocations: 413.6 kB / 1.316 GB, free: 5.125 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.4129, allocations: 33.7 kB / 1.316 GB, free: 5.086 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.4131, allocations: 284.3 kB / 1.316 GB, free: 4.805 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4132, allocations: 107.1 kB / 1.316 GB, free: 4.699 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.4134, allocations: 90.06 kB / 1.316 GB, free: 4.605 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.4136, allocations: 354.7 kB / 1.317 GB, free: 4.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.4139, allocations: 128.8 kB / 1.317 GB, free: 4.121 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.4142, allocations: 207.2 kB / 1.317 GB, free: 3.895 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.4148, allocations: 340.6 kB / 1.317 GB, free: 3.535 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4148, allocations: 0 / 1.317 GB, free: 3.535 MB / 1.014 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009845/0.4158, allocations: 472.5 kB / 1.318 GB, free: 3.062 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.4159, allocations: 41.69 kB / 1.318 GB, free: 3.016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4159, allocations: 8.188 kB / 1.318 GB, free: 3.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.4159, allocations: 4 kB / 1.318 GB, free: 3.004 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.4163, allocations: 79.83 kB / 1.318 GB, free: 2.926 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4163, allocations: 7.938 kB / 1.318 GB, free: 2.918 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.4167, allocations: 75.53 kB / 1.318 GB, free: 2.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.4167, allocations: 23.98 kB / 1.318 GB, free: 2.82 MB / 1.014 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.0002297/0.4169, allocations: 169.8 kB / 1.318 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.417, allocations: 39.72 kB / 1.318 GB, free: 2.605 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/0.4177, allocations: 327.3 kB / 1.319 GB, free: 2.281 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.4178, allocations: 11.92 kB / 1.319 GB, free: 2.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4178, allocations: 0 / 1.319 GB, free: 2.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4178, allocations: 7.984 kB / 1.319 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.4191, allocations: 0.9786 MB / 1.32 GB, free: 1.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4191, allocations: 0 / 1.32 GB, free: 1.207 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.4193, allocations: 60.09 kB / 1.32 GB, free: 1.148 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4193, allocations: 11.94 kB / 1.32 GB, free: 1.137 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.4194, allocations: 8 kB / 1.32 GB, free: 1.129 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.4194, allocations: 7.938 kB / 1.32 GB, free: 1.121 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4194, allocations: 4 kB / 1.32 GB, free: 1.117 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.42, allocations: 0.5055 MB / 1.32 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4201, allocations: 128.8 kB / 1.32 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.4202, allocations: 11.94 kB / 1.32 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.4204, allocations: 19.98 kB / 1.32 GB, free: 408 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.4205, allocations: 31.91 kB / 1.32 GB, free: 376 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.4205, allocations: 8 kB / 1.32 GB, free: 368 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003396/0.4208, allocations: 287.2 kB / 1.321 GB, free: 80 kB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4208, allocations: 0 / 1.321 GB, free: 80 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005332/0.4214, allocations: 111.9 kB / 1.321 GB, free: 15.96 MB / 1.029 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.001123/0.4225, allocations: 1.064 MB / 1.322 GB, free: 14.85 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007576/0.4233, allocations: 356.9 kB / 1.322 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4233, allocations: 0 / 1.322 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.4235, allocations: 134.1 kB / 1.322 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.4241, allocations: 69.53 kB / 1.322 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.4296, allocations: 3.777 MB / 1.326 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.4301, allocations: 0.8159 MB / 1.327 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001837/0.4303, allocations: 47.25 kB / 1.327 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.4305, allocations: 155.4 kB / 1.327 GB, free: 9.316 MB / 1.029 GB Notification: Performance of SimCode: time 1.193e-06/0.4305, allocations: 0 / 1.327 GB, free: 9.316 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.4637, allocations: 7.266 MB / 1.334 GB, free: 2.285 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.995/9.458, allocations: 14.59 kB / 1.334 GB, free: 2.277 MB / 1.029 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.499522901140153]