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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 216.3 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.26/3.26, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 74.53 kB / 1.186 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3879, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004069/0.392, allocations: 1.949 MB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003225/0.3952, allocations: 1.56 MB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.3955, allocations: 8 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.3956, allocations: 59.2 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.3959, allocations: 95.09 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.3968, allocations: 309.8 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007679/0.3976, allocations: 0.6332 MB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.398, allocations: 250.4 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.3984, allocations: 243.1 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.3987, allocations: 222.8 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.787e-05/0.3988, allocations: 68 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.399, allocations: 95.97 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3991, allocations: 127.5 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.3993, allocations: 234.9 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008635/0.4002, allocations: 0.8094 MB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4002, allocations: 0 / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4002, allocations: 0 / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.4002, allocations: 4 kB / 1.37 GB, free: 7.488 MB / 1.061 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.001328/0.4015, allocations: 0.7543 MB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4016, allocations: 12.03 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.4017, allocations: 94.69 kB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.402, allocations: 68.56 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.4025, allocations: 302 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.4025, allocations: 49.69 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.4026, allocations: 56.31 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009114/0.4035, allocations: 0.5033 MB / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.4035, allocations: 3.938 kB / 1.372 GB, free: 5.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.4036, allocations: 27.94 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.4036, allocations: 16 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.4043, allocations: 357.1 kB / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.4064, allocations: 1.256 MB / 1.373 GB, free: 3.879 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.407, allocations: 267.6 kB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.4074, allocations: 173.8 kB / 1.374 GB, free: 3.426 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.4074, allocations: 4 kB / 1.374 GB, free: 3.422 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004572/0.4079, allocations: 198.9 kB / 1.374 GB, free: 3.207 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 2.013e-06/0.4079, allocations: 0 / 1.374 GB, free: 3.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0008928/0.4088, allocations: 395.2 kB / 1.374 GB, free: 2.816 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.4089, allocations: 81.11 kB / 1.374 GB, free: 2.719 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.4094, allocations: 421.6 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.4094, allocations: 33.7 kB / 1.375 GB, free: 2.266 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.4096, allocations: 276.4 kB / 1.375 GB, free: 1.988 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4097, allocations: 115 kB / 1.375 GB, free: 1.875 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.4099, allocations: 78.12 kB / 1.375 GB, free: 1.793 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.4101, allocations: 362.7 kB / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.4105, allocations: 162.5 kB / 1.376 GB, free: 1.262 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.4108, allocations: 232.9 kB / 1.376 GB, free: 1.004 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.4115, allocations: 350.5 kB / 1.376 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.4115, allocations: 4 kB / 1.376 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009467/0.4124, allocations: 0.5076 MB / 1.377 GB, free: 108 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.4125, allocations: 37.69 kB / 1.377 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4125, allocations: 0 / 1.377 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4125, allocations: 4 kB / 1.377 GB, free: 60 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.4128, allocations: 75.95 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.4129, allocations: 7.938 kB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.4132, allocations: 83.48 kB / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.4133, allocations: 20.06 kB / 1.377 GB, free: 15.88 MB / 1.076 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.0002281/0.4135, allocations: 181.6 kB / 1.377 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.4136, allocations: 43.7 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/0.4142, allocations: 327.6 kB / 1.377 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.4142, allocations: 7.938 kB / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4142, allocations: 0 / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4143, allocations: 0 / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.4155, allocations: 0.8919 MB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4155, allocations: 0 / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.4158, allocations: 59.91 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.4158, allocations: 4 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.4158, allocations: 8 kB / 1.378 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.4158, allocations: 4 kB / 1.378 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.4158, allocations: 8.188 kB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.4165, allocations: 0.5094 MB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/0.4166, allocations: 47.69 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.4167, allocations: 8 kB / 1.379 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.4169, allocations: 15.98 kB / 1.379 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.4169, allocations: 35.83 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.417, allocations: 11.94 kB / 1.379 GB, free: 13.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003356/0.4173, allocations: 287.2 kB / 1.379 GB, free: 13.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4173, allocations: 4 kB / 1.379 GB, free: 13.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004771/0.4178, allocations: 111.7 kB / 1.379 GB, free: 13.21 MB / 1.076 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.001092/0.4189, allocations: 1.057 MB / 1.38 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007647/0.4196, allocations: 393 kB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4196, allocations: 0 / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.4199, allocations: 138.6 kB / 1.381 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.4205, allocations: 78.03 kB / 1.381 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/0.4262, allocations: 3.908 MB / 1.385 GB, free: 7.406 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.4265, allocations: 220.7 kB / 1.385 GB, free: 7.172 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.4266, allocations: 43.27 kB / 1.385 GB, free: 7.129 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.4269, allocations: 155.4 kB / 1.385 GB, free: 6.977 MB / 1.076 GB Notification: Performance of SimCode: time 9.52e-07/0.4269, allocations: 0 / 1.385 GB, free: 6.977 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.4665, allocations: 8.022 MB / 1.393 GB, free: 15.18 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.18, allocations: 11.58 kB / 1.393 GB, free: 15.18 MB / 1.092 GB " [Timeout remaining time 288] (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/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: 19.07745829084888]