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.001297/0.001297, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001561/0.001561, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 8.016 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.431/3.431, allocations: 0.505 GB / 0.8101 GB, free: 22.09 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.002043/0.002043, allocations: 68.42 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4305, allocations: 180.2 MB / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002455/0.4329, allocations: 1.052 MB / 1.354 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.4349, allocations: 1.3 MB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.435, allocations: 0 / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.4351, allocations: 27.73 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.186e-05/0.4352, allocations: 19.75 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.4358, allocations: 181.5 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.4361, allocations: 228.1 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.4363, allocations: 65.17 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.4365, allocations: 95.69 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.4367, allocations: 95.59 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.4367, allocations: 24 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.4368, allocations: 39.98 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.4368, allocations: 35.91 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.4369, allocations: 95.52 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.4373, allocations: 251 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4373, allocations: 4 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4373, allocations: 0 / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.4373, allocations: 0 / 1.356 GB, free: 5.031 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.0007684/0.4381, allocations: 435.1 kB / 1.357 GB, free: 4.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4381, allocations: 8.031 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.4382, allocations: 50.73 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.4383, allocations: 32.78 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.4386, allocations: 167.5 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.4386, allocations: 16.31 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.4386, allocations: 20.12 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.4389, allocations: 129.6 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4389, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.4389, allocations: 8 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4389, allocations: 8 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.4391, allocations: 79.95 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.4399, allocations: 495.2 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.4402, allocations: 102.7 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.4404, allocations: 44.84 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4404, allocations: 0 / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.4407, allocations: 99.42 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.4407, allocations: 0 / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0004151/0.4411, allocations: 153.8 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.4411, allocations: 55.41 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.4413, allocations: 195.5 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.4414, allocations: 33.64 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.4415, allocations: 124.3 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.4415, allocations: 39.72 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.4416, allocations: 37.7 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4418, allocations: 334.7 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.4419, allocations: 51.97 kB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.442, allocations: 87.39 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.4423, allocations: 134.7 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4423, allocations: 0 / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004035/0.4427, allocations: 211.3 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.4427, allocations: 45.69 kB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4427, allocations: 0 / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4427, allocations: 4 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.4428, allocations: 15.98 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4428, allocations: 0 / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.4431, allocations: 43.86 kB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.4431, allocations: 11.92 kB / 1.359 GB, free: 1.586 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.0001379/0.4432, allocations: 138.4 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.4432, allocations: 11.91 kB / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.4433, allocations: 21.39 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4433, allocations: 4 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4433, allocations: 0 / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4433, allocations: 0 / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.4435, allocations: 212.5 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4435, allocations: 0 / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.4436, allocations: 15.98 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4436, allocations: 4 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4436, allocations: 3.938 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4436, allocations: 0 / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4436, allocations: 4 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.4439, allocations: 144.9 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.4439, allocations: 23.83 kB / 1.36 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.4439, allocations: 4 kB / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.444, allocations: 16 kB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.4441, allocations: 11.97 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.4441, allocations: 0 / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001167/0.4442, allocations: 143.2 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4442, allocations: 0 / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002357/0.4444, allocations: 31.95 kB / 1.36 GB, free: 0.7383 MB / 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.0006591/0.4451, allocations: 0.702 MB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.4455, allocations: 163.3 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4455, allocations: 3.938 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.4456, allocations: 51.91 kB / 1.361 GB, free: 15.78 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.4459, allocations: 33.55 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.4484, allocations: 1.922 MB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.4488, allocations: 0.7162 MB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.096e-05/0.4488, allocations: 13.08 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.609e-05/0.4489, allocations: 43.42 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of SimCode: time 7.81e-07/0.4489, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.4827, allocations: 3.888 MB / 1.367 GB, free: 9.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.3, allocations: 7.219 kB / 1.367 GB, free: 9.191 MB / 1.061 GB " [Timeout remaining time 289] (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.63554326800022]