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.001829/0.001829, 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.002335/0.002335, allocations: 218.5 kB / 22.26 MB, free: 5.078 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 8 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.265/3.265, allocations: 0.49 GB / 0.7951 GB, free: 33.33 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.001997/0.001997, allocations: 71.38 kB / 1.154 GB, free: 25.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4227, allocations: 176.1 MB / 1.326 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002656/0.4253, allocations: 1.047 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.4275, allocations: 1.303 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.4277, allocations: 8 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.4278, allocations: 15.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.4279, allocations: 27.73 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.4286, allocations: 182.9 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.4289, allocations: 224.1 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.4291, allocations: 70.2 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.4293, allocations: 103.7 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.4295, allocations: 91.59 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.4295, allocations: 24 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.4296, allocations: 43.97 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.4296, allocations: 35.86 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.4297, allocations: 83.59 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.4301, allocations: 267.2 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4301, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4301, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4301, allocations: 0 / 1.329 GB, free: 14.58 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.0007664/0.4309, allocations: 431.2 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4309, allocations: 12.03 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.431, allocations: 46.73 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.4312, allocations: 28.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.4314, allocations: 167.9 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4315, allocations: 12.38 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.4315, allocations: 24.11 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.4318, allocations: 133.5 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4318, allocations: 7.984 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4318, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4318, allocations: 4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.432, allocations: 87.95 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008473/0.4329, allocations: 491.2 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.4332, allocations: 102.5 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.4333, allocations: 40.97 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4333, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.4336, allocations: 95.48 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.4336, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004006/0.434, allocations: 153.6 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.434, allocations: 55.34 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.4342, allocations: 187 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.4343, allocations: 33.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.4344, allocations: 124.3 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.4344, allocations: 27.75 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.808e-05/0.4345, allocations: 45.69 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4347, allocations: 330.8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4348, allocations: 59.91 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.435, allocations: 89.45 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.4352, allocations: 127.6 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4352, allocations: 4.031 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004147/0.4356, allocations: 219.2 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.4357, allocations: 35.27 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.4357, allocations: 3.984 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4357, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.4358, allocations: 19.94 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4358, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.436, allocations: 43.91 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.4361, allocations: 19.92 kB / 1.332 GB, free: 11.14 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.0001175/0.4362, allocations: 126.9 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.4362, allocations: 15.91 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.928e-05/0.4363, allocations: 17.41 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.4363, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4363, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4363, allocations: 7.922 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.4365, allocations: 216.5 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4365, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.4366, allocations: 15.98 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4366, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4366, allocations: 4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4366, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4366, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.4369, allocations: 152.9 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.4369, allocations: 19.84 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.4369, allocations: 4 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.437, allocations: 11.97 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.4371, allocations: 19.91 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4371, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001197/0.4372, allocations: 135.2 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4372, allocations: 3.938 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002416/0.4374, allocations: 43.94 kB / 1.333 GB, free: 10.27 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.0006413/0.4381, allocations: 0.6872 MB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003752/0.4384, allocations: 175.3 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4385, allocations: 0 / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.4386, allocations: 44.05 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.4388, allocations: 35.84 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.4414, allocations: 1.922 MB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.4418, allocations: 0.7123 MB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.4418, allocations: 13.08 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.4419, allocations: 47.42 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.4419, allocations: 0 / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.4742, allocations: 3.878 MB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.33, allocations: 2.875 kB / 1.341 GB, free: 2.754 MB / 1.029 GB " [Timeout remaining time 289] (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: 18.548717821999162]