Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002318/0.002318, allocations: 107.2 kB / 16.46 MB, free: 6.508 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.002325/0.002325, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.228/3.228, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_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.002087/0.002087, allocations: 77.17 kB / 1.149 GB, free: 26.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 176.1 MB / 1.321 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004277/0.3572, allocations: 2.228 MB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.3603, allocations: 1.579 MB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004618/0.3608, allocations: 8 kB / 1.325 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.361, allocations: 63.19 kB / 1.325 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.3615, allocations: 103.1 kB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3625, allocations: 305.7 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3635, allocations: 0.6409 MB / 1.326 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006037/0.3641, allocations: 265.8 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004352/0.3646, allocations: 235.2 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.365, allocations: 260.2 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.3651, allocations: 68 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.3653, allocations: 95.98 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.3655, allocations: 135.5 kB / 1.327 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.3658, allocations: 286.6 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.3669, allocations: 0.8055 MB / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3669, allocations: 0 / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3669, allocations: 0 / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.973e-05/0.367, allocations: 0 / 1.328 GB, free: 12.41 MB / 1.029 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.001843/0.3688, allocations: 0.8356 MB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3688, allocations: 11.98 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.369, allocations: 98.69 kB / 1.329 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.3692, allocations: 68.56 kB / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.3698, allocations: 355.9 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.3698, allocations: 41.69 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.3699, allocations: 60.31 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009511/0.3709, allocations: 0.5148 MB / 1.33 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3709, allocations: 3.938 kB / 1.33 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.3709, allocations: 23.98 kB / 1.33 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.3709, allocations: 12 kB / 1.33 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/0.3717, allocations: 356.7 kB / 1.33 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.3739, allocations: 1.458 MB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.3745, allocations: 261.3 kB / 1.332 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.375, allocations: 161.8 kB / 1.332 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.3751, allocations: 7.938 kB / 1.332 GB, free: 7.957 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004566/0.3755, allocations: 206.9 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.3755, allocations: 0 / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0009776/0.3765, allocations: 387.3 kB / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.3766, allocations: 89.05 kB / 1.332 GB, free: 7.246 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005515/0.3771, allocations: 413.6 kB / 1.333 GB, free: 6.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.3772, allocations: 33.7 kB / 1.333 GB, free: 6.801 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.3774, allocations: 272.4 kB / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3776, allocations: 119 kB / 1.333 GB, free: 6.414 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.3777, allocations: 86.11 kB / 1.333 GB, free: 6.324 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3779, allocations: 350.7 kB / 1.334 GB, free: 5.973 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.3782, allocations: 132.8 kB / 1.334 GB, free: 5.844 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.3786, allocations: 203.2 kB / 1.334 GB, free: 5.621 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007347/0.3794, allocations: 345 kB / 1.334 GB, free: 5.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3794, allocations: 0 / 1.334 GB, free: 5.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009969/0.3804, allocations: 482.7 kB / 1.335 GB, free: 4.773 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-05/0.3804, allocations: 37.69 kB / 1.335 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3804, allocations: 4 kB / 1.335 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3804, allocations: 4 kB / 1.335 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.3808, allocations: 75.91 kB / 1.335 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.3808, allocations: 11.92 kB / 1.335 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.3812, allocations: 79.58 kB / 1.335 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.3813, allocations: 27.98 kB / 1.335 GB, free: 4.531 MB / 1.029 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.0002472/0.3815, allocations: 173.7 kB / 1.335 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.3816, allocations: 35.77 kB / 1.335 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007767/0.3824, allocations: 331.6 kB / 1.336 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3824, allocations: 7.938 kB / 1.336 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3824, allocations: 4 kB / 1.336 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3824, allocations: 7.984 kB / 1.336 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3839, allocations: 0.9709 MB / 1.336 GB, free: 2.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3839, allocations: 0 / 1.336 GB, free: 2.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.3842, allocations: 59.91 kB / 1.337 GB, free: 2.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.3842, allocations: 4 kB / 1.337 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.3842, allocations: 8 kB / 1.337 GB, free: 2.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.3842, allocations: 4 kB / 1.337 GB, free: 2.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3842, allocations: 4 kB / 1.337 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.385, allocations: 0.5094 MB / 1.337 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3851, allocations: 128.8 kB / 1.337 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3852, allocations: 8 kB / 1.337 GB, free: 2.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.3854, allocations: 19.92 kB / 1.337 GB, free: 2.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.3855, allocations: 27.91 kB / 1.337 GB, free: 2.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.3855, allocations: 12 kB / 1.337 GB, free: 2.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003515/0.3858, allocations: 287.2 kB / 1.338 GB, free: 1.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3858, allocations: 0 / 1.338 GB, free: 1.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005325/0.3864, allocations: 115.7 kB / 1.338 GB, free: 1.691 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.001221/0.3876, allocations: 1.073 MB / 1.339 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008382/0.3884, allocations: 349.2 kB / 1.339 GB, free: 224 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3884, allocations: 384 / 1.339 GB, free: 224 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.3887, allocations: 139.7 kB / 1.339 GB, free: 84 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.3893, allocations: 71.64 kB / 1.339 GB, free: 12 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.3953, allocations: 3.785 MB / 1.343 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.3959, allocations: 0.8198 MB / 1.344 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.3961, allocations: 43.27 kB / 1.344 GB, free: 11.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.3963, allocations: 159.4 kB / 1.344 GB, free: 11.03 MB / 1.045 GB Notification: Performance of SimCode: time 1.403e-06/0.3963, allocations: 0 / 1.344 GB, free: 11.03 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/0.4349, allocations: 7.248 MB / 1.351 GB, free: 3.973 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.749/9.184, allocations: 11.52 kB / 1.351 GB, free: 3.961 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.980505168903619]