Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001344/0.001344, 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.001691/0.001691, allocations: 211.3 kB / 22.24 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.805 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.312/3.312, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.PIDWithAutotuning.Relay.Validation.Controller,fileNamePrefix="Buildings_12_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_12_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.0024/0.0024, allocations: 73.39 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3805, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.00275/0.3833, allocations: 0.9593 MB / 1.326 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.3854, allocations: 1.284 MB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.3856, allocations: 4 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.3858, allocations: 19.73 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.3859, allocations: 23.78 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.3866, allocations: 182.8 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.387, allocations: 232 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.3872, allocations: 61.17 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.3875, allocations: 99.7 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.3877, allocations: 83.58 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.3878, allocations: 24 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3879, allocations: 35.98 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.3879, allocations: 35.92 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3881, allocations: 79.62 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.3885, allocations: 255 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3885, allocations: 4 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3885, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.3885, allocations: 0 / 1.328 GB, free: 15 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009492/0.3894, allocations: 427.2 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3895, allocations: 12.03 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.3896, allocations: 46.73 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.3898, allocations: 32.78 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.3901, allocations: 166.4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3901, allocations: 12.38 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.3902, allocations: 20.12 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.3905, allocations: 145.5 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3905, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3905, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3905, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.3907, allocations: 87.95 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/0.3916, allocations: 451.3 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.3919, allocations: 94.67 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.392, allocations: 44.83 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.392, allocations: 4 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.3923, allocations: 99.42 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.3923, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004225/0.3927, allocations: 153.5 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.3927, allocations: 51.41 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.3929, allocations: 191 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.393, allocations: 29.7 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3931, allocations: 124.3 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.3931, allocations: 27.75 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.3932, allocations: 53.62 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3934, allocations: 326.8 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.3936, allocations: 85.67 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.3938, allocations: 142.7 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.394, allocations: 128.2 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.394, allocations: 0 / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004718/0.3945, allocations: 256.5 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.3945, allocations: 33.7 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3945, allocations: 4 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3946, allocations: 0 / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.806e-05/0.3947, allocations: 19.92 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3947, allocations: 0 / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.3949, allocations: 47.84 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.3949, allocations: 11.94 kB / 1.332 GB, free: 11.46 MB / 1.029 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.0001396/0.3951, allocations: 137.6 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.3951, allocations: 15.84 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.3952, allocations: 17.41 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3952, allocations: 4 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3952, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3952, allocations: 3.938 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3954, allocations: 196.6 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3954, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.3955, allocations: 12 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3955, allocations: 4 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3955, allocations: 7.984 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3955, allocations: 4 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3955, allocations: 0 / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.3958, allocations: 152.9 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.3958, allocations: 15.84 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.3958, allocations: 7.938 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.3959, allocations: 7.984 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.3959, allocations: 15.92 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3959, allocations: 7.984 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001191/0.3961, allocations: 143.2 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3961, allocations: 0 / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002553/0.3963, allocations: 35.95 kB / 1.332 GB, free: 10.61 MB / 1.029 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.0006707/0.397, allocations: 0.6865 MB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003975/0.3974, allocations: 205.7 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3974, allocations: 0 / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3975, allocations: 40.05 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.3978, allocations: 45.95 kB / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.4007, allocations: 2.05 MB / 1.335 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.4008, allocations: 107.2 kB / 1.335 GB, free: 7.297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.072e-05/0.4009, allocations: 13.08 kB / 1.335 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.543e-05/0.401, allocations: 43.42 kB / 1.335 GB, free: 7.242 MB / 1.029 GB Notification: Performance of SimCode: time 9.21e-07/0.401, allocations: 0 / 1.335 GB, free: 7.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.4364, allocations: 4.441 MB / 1.34 GB, free: 2.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.08, allocations: 4.516 kB / 1.34 GB, free: 2.977 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable relCon.u_m from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! Error: Could not read variable enaSig.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable enaSig.y from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! Error: Could not read variable relCon.yOn in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable relCon.yOn from file Buildings_12_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.186412409879267]