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.001337/0.001337, 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.001506/0.001506, allocations: 221.2 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.734 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.312/3.312, allocations: 0.505 GB / 0.8101 GB, free: 23.51 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.003137/0.003137, allocations: 63.3 kB / 1.177 GB, free: 16.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.4, allocations: 180.2 MB / 1.353 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002361/0.4023, allocations: 0.9583 MB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.4044, allocations: 1.284 MB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4045, allocations: 4 kB / 1.355 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.4047, allocations: 19.73 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.4048, allocations: 19.78 kB / 1.355 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.4054, allocations: 182.3 kB / 1.355 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.4058, allocations: 232 kB / 1.355 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.406, allocations: 61.19 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.4063, allocations: 99.69 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.4065, allocations: 91.64 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.4065, allocations: 27.94 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.4066, allocations: 35.98 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.4067, allocations: 35.86 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.4068, allocations: 87.62 kB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.4072, allocations: 258.9 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4072, allocations: 0 / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4072, allocations: 0 / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.4072, allocations: 0 / 1.356 GB, free: 4.504 MB / 1.045 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.0008161/0.408, allocations: 427.2 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4081, allocations: 12.03 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.4081, allocations: 46.73 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.4083, allocations: 32.78 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.4085, allocations: 176 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.4086, allocations: 12.38 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.4086, allocations: 20.12 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.4089, allocations: 133.6 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4089, allocations: 3.984 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.4089, allocations: 4 kB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4089, allocations: 4 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.4092, allocations: 91.89 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007876/0.4099, allocations: 447.3 kB / 1.357 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.4103, allocations: 94.55 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.4104, allocations: 44.95 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.4104, allocations: 4.125 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.4107, allocations: 91.38 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.4107, allocations: 0 / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0004034/0.4111, allocations: 161.5 kB / 1.358 GB, free: 2.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.4111, allocations: 51.41 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.4113, allocations: 191.7 kB / 1.358 GB, free: 2.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.4113, allocations: 33.7 kB / 1.358 GB, free: 2.289 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.4114, allocations: 124.3 kB / 1.358 GB, free: 2.164 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.4115, allocations: 31.73 kB / 1.358 GB, free: 2.133 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4116, allocations: 45.69 kB / 1.358 GB, free: 2.082 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4118, allocations: 330.8 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.4119, allocations: 77.67 kB / 1.359 GB, free: 1.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.4121, allocations: 142.8 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.4124, allocations: 137.5 kB / 1.359 GB, free: 1.355 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4124, allocations: 0 / 1.359 GB, free: 1.355 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004545/0.4128, allocations: 251.8 kB / 1.359 GB, free: 1.094 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.4129, allocations: 29.7 kB / 1.359 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4129, allocations: 4 kB / 1.359 GB, free: 1.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4129, allocations: 0 / 1.359 GB, free: 1.055 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.413, allocations: 19.98 kB / 1.359 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.413, allocations: 8 kB / 1.359 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.4132, allocations: 43.84 kB / 1.359 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.4132, allocations: 7.938 kB / 1.359 GB, free: 0.9766 MB / 1.045 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.000135/0.4134, allocations: 137.7 kB / 1.359 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.4134, allocations: 19.89 kB / 1.359 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.4134, allocations: 13.41 kB / 1.359 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4134, allocations: 4 kB / 1.359 GB, free: 0.793 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4134, allocations: 4 kB / 1.359 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4134, allocations: 3.938 kB / 1.359 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.4136, allocations: 196.6 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4137, allocations: 3.984 kB / 1.36 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.4137, allocations: 12 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4137, allocations: 0 / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4137, allocations: 7.984 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4137, allocations: 4 kB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4137, allocations: 0 / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.414, allocations: 152.9 kB / 1.36 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.414, allocations: 19.84 kB / 1.36 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.4141, allocations: 4 kB / 1.36 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.4141, allocations: 7.984 kB / 1.36 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.4142, allocations: 7.984 kB / 1.36 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.4142, allocations: 15.92 kB / 1.36 GB, free: 308 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001295/0.4143, allocations: 139.4 kB / 1.36 GB, free: 168 kB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.4143, allocations: 0 / 1.36 GB, free: 168 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002423/0.4146, allocations: 35.95 kB / 1.36 GB, free: 132 kB / 1.045 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.0006806/0.4153, allocations: 0.6949 MB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.4157, allocations: 205 kB / 1.361 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4157, allocations: 0 / 1.361 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/0.4158, allocations: 39.98 kB / 1.361 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.416, allocations: 33.22 kB / 1.361 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.4187, allocations: 2.05 MB / 1.363 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.893e-05/0.4188, allocations: 99.23 kB / 1.363 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.14e-05/0.4188, allocations: 21.06 kB / 1.363 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.4189, allocations: 47.42 kB / 1.363 GB, free: 12.75 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.4189, allocations: 0 / 1.363 GB, free: 12.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.4508, allocations: 4.496 MB / 1.368 GB, free: 8.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.81, allocations: 10.39 kB / 1.368 GB, free: 8.422 MB / 1.061 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: 18.9735085380089]