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.001334/0.001334, 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.001554/0.001554, allocations: 217.3 kB / 22.24 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.777 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.283/3.283, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.002046/0.002046, allocations: 59.66 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4246, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002531/0.4272, allocations: 0.9692 MB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.4292, allocations: 1.284 MB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.4293, allocations: 7.938 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.4294, allocations: 15.75 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.4295, allocations: 23.78 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.4301, allocations: 179.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000309/0.4304, allocations: 228 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.4306, allocations: 70.56 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.4308, allocations: 99.69 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.431, allocations: 95.58 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.431, allocations: 24 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.4311, allocations: 32 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.4312, allocations: 39.91 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.4313, allocations: 79.58 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.4317, allocations: 259 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.4317, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4317, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.026e-06/0.4317, allocations: 4 kB / 1.329 GB, free: 14.06 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.000794/0.4325, allocations: 419.2 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4325, allocations: 19.95 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.4326, allocations: 46.69 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.4328, allocations: 32.78 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.433, allocations: 160.5 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.4331, allocations: 12.38 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.4331, allocations: 24.06 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.4334, allocations: 141.6 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4334, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.4334, allocations: 4 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.4334, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.4336, allocations: 87.94 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.4344, allocations: 455.2 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.4347, allocations: 94.67 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.4348, allocations: 44.84 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.4349, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.4351, allocations: 99.47 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.4351, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.000449/0.4356, allocations: 157.5 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.4356, allocations: 51.41 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.4358, allocations: 187 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.4359, allocations: 37.62 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.436, allocations: 124.4 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.436, allocations: 31.73 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.4361, allocations: 37.7 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4363, allocations: 330.8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.4365, allocations: 93.59 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.4367, allocations: 138.8 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.4369, allocations: 126.9 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4369, allocations: 3.938 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004373/0.4373, allocations: 252.9 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.4374, allocations: 37.69 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.4374, allocations: 4 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4374, allocations: 3.938 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.287e-05/0.4375, allocations: 12 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4375, allocations: 3.984 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.4378, allocations: 39.86 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.4378, allocations: 23.98 kB / 1.332 GB, free: 10.53 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.0001441/0.4379, allocations: 130.8 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.438, allocations: 11.91 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.438, allocations: 21.39 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.438, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.438, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.438, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.4383, allocations: 192.6 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4383, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.4384, allocations: 19.98 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4384, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4384, allocations: 4 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4384, allocations: 4 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4384, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.4387, allocations: 157.4 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.4387, allocations: 15.84 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4388, allocations: 7.984 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.4388, allocations: 4 kB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.4389, allocations: 15.97 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4389, allocations: 8 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000125/0.439, allocations: 143.2 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.439, allocations: 0 / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002734/0.4393, allocations: 35.95 kB / 1.333 GB, free: 9.688 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.000673/0.44, allocations: 0.6943 MB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.4403, allocations: 201 kB / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4403, allocations: 128 / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.4405, allocations: 47.91 kB / 1.334 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.4407, allocations: 30.92 kB / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.4435, allocations: 2.043 MB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.4436, allocations: 111.2 kB / 1.336 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.408e-05/0.4436, allocations: 17.08 kB / 1.336 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.741e-05/0.4437, allocations: 47.41 kB / 1.336 GB, free: 6.316 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4437, allocations: 0 / 1.336 GB, free: 6.316 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.476, allocations: 4.488 MB / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.83, allocations: 10.19 kB / 1.341 GB, free: 2 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: 18.859023052995326]