Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.00178/0.00178, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002163/0.002163, allocations: 214.4 kB / 22.25 MB, free: 4.855 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 8.004 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.378/3.378, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.PIDWithAutotuning.Relay.Validation.Controller,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",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.002286/0.002286, allocations: 68.64 kB / 1.186 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3708, allocations: 181.9 MB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002589/0.3734, allocations: 0.9725 MB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3754, allocations: 1.273 MB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.3755, allocations: 3.938 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.3757, allocations: 23.8 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.3758, allocations: 23.72 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.3764, allocations: 174.3 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.3767, allocations: 228.1 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.3769, allocations: 61.17 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.3772, allocations: 99.62 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.3774, allocations: 79.59 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.3774, allocations: 20 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.3775, allocations: 43.92 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.3776, allocations: 39.84 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.3777, allocations: 79.7 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.378, allocations: 266.9 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.378, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.378, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.378, allocations: 0 / 1.367 GB, free: 10.78 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.000783/0.3788, allocations: 424.6 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3789, allocations: 8.031 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.3789, allocations: 46.73 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.3791, allocations: 36.83 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.3793, allocations: 166.4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3794, allocations: 12.38 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.3794, allocations: 24.12 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.3797, allocations: 129.6 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3797, allocations: 0 / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3797, allocations: 4 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3797, allocations: 4 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.3799, allocations: 91.89 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.3807, allocations: 443.4 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.381, allocations: 102.6 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3811, allocations: 40.84 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.3811, allocations: 0 / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.3814, allocations: 99.36 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.3814, allocations: 3.938 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0004175/0.3818, allocations: 154 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3819, allocations: 55.41 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.3821, allocations: 191.5 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.3821, allocations: 33.7 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3822, allocations: 120.3 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.3823, allocations: 31.7 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.3823, allocations: 45.69 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3825, allocations: 326.8 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3827, allocations: 85.67 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.3829, allocations: 142.8 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3831, allocations: 138.7 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3831, allocations: 4 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004771/0.3836, allocations: 244.9 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.3836, allocations: 33.7 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3836, allocations: 3.938 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3837, allocations: 4 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.3838, allocations: 15.98 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3838, allocations: 8 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.384, allocations: 47.84 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.384, allocations: 7.938 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001613/0.3842, allocations: 135.1 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3842, allocations: 7.953 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.3843, allocations: 21.39 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.3843, allocations: 4 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3843, allocations: 4 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3843, allocations: 3.984 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.3846, allocations: 196.6 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3846, allocations: 0 / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.3847, allocations: 16 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3847, allocations: 0 / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3847, allocations: 7.922 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3847, allocations: 0 / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3847, allocations: 4 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.385, allocations: 148.9 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.385, allocations: 27.84 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3851, allocations: 0 / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.3851, allocations: 11.98 kB / 1.37 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.3852, allocations: 11.97 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3852, allocations: 4 kB / 1.37 GB, free: 6.586 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001431/0.3854, allocations: 135.2 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3854, allocations: 0 / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002655/0.3856, allocations: 32 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0007439/0.3864, allocations: 0.6981 MB / 1.371 GB, free: 5.695 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.3868, allocations: 197 kB / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3868, allocations: 0 / 1.371 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3869, allocations: 47.92 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3872, allocations: 42.45 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.39, allocations: 2.059 MB / 1.374 GB, free: 3.219 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.858e-05/0.3901, allocations: 99.23 kB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.927e-05/0.3901, allocations: 17.08 kB / 1.374 GB, free: 3.082 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.154e-05/0.3902, allocations: 43.42 kB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of SimCode: time 6.21e-07/0.3902, allocations: 0 / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/0.4336, allocations: 4.459 MB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.18, allocations: 0.9375 kB / 1.378 GB, free: 14.77 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable relCon.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable relCon.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! Error: Could not read variable enaSig.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable enaSig.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! Error: Could not read variable relCon.yOn in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable relCon.yOn from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.486807880923152]