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.001751/0.001751, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002281/0.002281, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.785 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.233/3.233, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.002027/0.002027, allocations: 68.22 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3518, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003779/0.3556, allocations: 1.935 MB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.358, allocations: 1.568 MB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.3583, allocations: 8 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.3585, allocations: 63.19 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.3587, allocations: 95.09 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.3595, allocations: 304.9 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006673/0.3601, allocations: 0.637 MB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.3606, allocations: 274.4 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.3608, allocations: 235.2 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.3611, allocations: 258.8 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.587e-05/0.3612, allocations: 68 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3613, allocations: 87.98 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3614, allocations: 135.5 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.3617, allocations: 231 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.3625, allocations: 0.8172 MB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3625, allocations: 0 / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3625, allocations: 0 / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.3625, allocations: 0 / 1.332 GB, free: 10.8 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.001305/0.3638, allocations: 0.7563 MB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.3639, allocations: 12.03 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.364, allocations: 94.7 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.3642, allocations: 76.55 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.3647, allocations: 286.1 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.3648, allocations: 45.67 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.659e-05/0.3648, allocations: 60.38 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009009/0.3657, allocations: 0.5032 MB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.3658, allocations: 3.938 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.3658, allocations: 20 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.3658, allocations: 19.94 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.3666, allocations: 361.1 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.3687, allocations: 1.26 MB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.3693, allocations: 265.3 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.3697, allocations: 177.5 kB / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.3697, allocations: 4 kB / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005222/0.3702, allocations: 206.8 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.3702, allocations: 0 / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008913/0.3711, allocations: 390.9 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.3712, allocations: 81.11 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.3717, allocations: 417.6 kB / 1.337 GB, free: 5.598 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.3718, allocations: 33.7 kB / 1.337 GB, free: 5.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.372, allocations: 268.4 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.998e-05/0.3721, allocations: 115 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.3722, allocations: 90 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3724, allocations: 358.7 kB / 1.338 GB, free: 4.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.3727, allocations: 166.5 kB / 1.338 GB, free: 4.555 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.3731, allocations: 236.9 kB / 1.338 GB, free: 4.297 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.3737, allocations: 345.3 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3737, allocations: 0 / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009197/0.3746, allocations: 0.4943 MB / 1.339 GB, free: 3.422 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.3747, allocations: 43.09 kB / 1.339 GB, free: 3.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.3747, allocations: 4 kB / 1.339 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3747, allocations: 4 kB / 1.339 GB, free: 3.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.375, allocations: 79.84 kB / 1.339 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.3751, allocations: 7.938 kB / 1.339 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.3754, allocations: 75.77 kB / 1.339 GB, free: 3.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.3755, allocations: 23.98 kB / 1.339 GB, free: 3.184 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.0002721/0.3758, allocations: 169.7 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.3758, allocations: 43.72 kB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.3765, allocations: 324.9 kB / 1.34 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3765, allocations: 11.94 kB / 1.34 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3765, allocations: 0 / 1.34 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3765, allocations: 7.922 kB / 1.34 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.3778, allocations: 0.8827 MB / 1.341 GB, free: 1.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3778, allocations: 7.938 kB / 1.341 GB, free: 1.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.378, allocations: 55.91 kB / 1.341 GB, free: 1.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.3781, allocations: 8.188 kB / 1.341 GB, free: 1.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3781, allocations: 12 kB / 1.341 GB, free: 1.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3781, allocations: 7.938 kB / 1.341 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3781, allocations: 4 kB / 1.341 GB, free: 1.574 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.3787, allocations: 0.5155 MB / 1.341 GB, free: 1.023 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.3788, allocations: 51.64 kB / 1.342 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.3789, allocations: 8 kB / 1.342 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.3791, allocations: 15.98 kB / 1.342 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.3792, allocations: 35.83 kB / 1.342 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.3792, allocations: 16 kB / 1.342 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003198/0.3795, allocations: 287.2 kB / 1.342 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3795, allocations: 0 / 1.342 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004868/0.38, allocations: 107.8 kB / 1.342 GB, free: 0.5156 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.00106/0.3811, allocations: 1.068 MB / 1.343 GB, free: 15.4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007697/0.3819, allocations: 383.1 kB / 1.343 GB, free: 15.01 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3819, allocations: 0 / 1.343 GB, free: 15.01 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.3821, allocations: 139.7 kB / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.3827, allocations: 72.86 kB / 1.344 GB, free: 14.81 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005487/0.3882, allocations: 3.897 MB / 1.347 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3884, allocations: 224.7 kB / 1.348 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.3886, allocations: 43.27 kB / 1.348 GB, free: 10.42 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.3889, allocations: 159.4 kB / 1.348 GB, free: 10.27 MB / 1.045 GB Notification: Performance of SimCode: time 1.773e-06/0.3889, allocations: 0 / 1.348 GB, free: 10.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.427, allocations: 8.146 MB / 1.356 GB, free: 2.328 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.89, allocations: 10 kB / 1.356 GB, free: 2.32 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.788489997008583]