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.00176/0.00176, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.002096/0.002096, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.311/3.311, allocations: 0.49 GB / 0.7916 GB, free: 33.52 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.002071/0.002071, allocations: 67.97 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3744, allocations: 176.1 MB / 1.321 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002995/0.3774, allocations: 1.047 MB / 1.322 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.3797, allocations: 1.299 MB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.3798, allocations: 3.938 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.38, allocations: 19.73 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.3801, allocations: 19.81 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.3807, allocations: 183.3 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.3811, allocations: 224.1 kB / 1.324 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.3813, allocations: 68.48 kB / 1.324 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.3815, allocations: 99.69 kB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3817, allocations: 95.58 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.3818, allocations: 20 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3819, allocations: 39.98 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.3819, allocations: 35.86 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.382, allocations: 91.52 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.3824, allocations: 259.3 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3824, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3824, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.3825, allocations: 4 kB / 1.324 GB, free: 15.93 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.0009396/0.3834, allocations: 0.4886 MB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3834, allocations: 15.98 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.437e-05/0.3835, allocations: 50.67 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.3837, allocations: 32.78 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.384, allocations: 217.4 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3841, allocations: 12.38 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.3841, allocations: 32.05 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.3844, allocations: 129.6 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3844, allocations: 0 / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3844, allocations: 4 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3844, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.3846, allocations: 83.95 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.3855, allocations: 0.5234 MB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.3858, allocations: 98.53 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3859, allocations: 36.97 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.386, allocations: 7.984 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.3862, allocations: 99.48 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.3862, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004955/0.3867, allocations: 153.5 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.3867, allocations: 59.39 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3869, allocations: 175.2 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.387, allocations: 37.64 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.3871, allocations: 128.3 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.3871, allocations: 35.73 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.3872, allocations: 45.7 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3873, allocations: 322.8 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.3875, allocations: 67.91 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3877, allocations: 83.39 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.3879, allocations: 128.3 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3879, allocations: 4 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004449/0.3884, allocations: 215.1 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.3884, allocations: 37.69 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3884, allocations: 0 / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3884, allocations: 4 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.3885, allocations: 16 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3886, allocations: 3.984 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.3888, allocations: 43.92 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.3888, allocations: 11.92 kB / 1.327 GB, free: 12.28 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.0001336/0.389, allocations: 134.3 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.389, allocations: 11.91 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.3891, allocations: 21.39 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3891, allocations: 0 / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3891, allocations: 4 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3891, allocations: 4 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.3893, allocations: 241.4 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3893, allocations: 0 / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.3894, allocations: 11.98 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3894, allocations: 4 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3894, allocations: 4 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3894, allocations: 0 / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3894, allocations: 0 / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.3897, allocations: 160.8 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.3898, allocations: 96.94 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3898, allocations: 4 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.3899, allocations: 4 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.39, allocations: 19.97 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.39, allocations: 0 / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001358/0.3901, allocations: 144.4 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3901, allocations: 0 / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002634/0.3904, allocations: 39.95 kB / 1.328 GB, free: 11.29 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.0006761/0.391, allocations: 0.6904 MB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.3914, allocations: 175.3 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3914, allocations: 4.062 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.3916, allocations: 39.92 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.3919, allocations: 35.86 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.3946, allocations: 1.924 MB / 1.331 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3949, allocations: 0.7162 MB / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.651e-05/0.395, allocations: 17.09 kB / 1.332 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.3951, allocations: 43.41 kB / 1.332 GB, free: 7.477 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3951, allocations: 4 kB / 1.332 GB, free: 7.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.4238, allocations: 3.752 MB / 1.336 GB, free: 3.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.635, allocations: 17.75 kB / 1.336 GB, free: 3.883 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.621594382915646]