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.002015/0.002015, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003228/0.003228, allocations: 214.4 kB / 22.24 MB, free: 5.262 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 / 256 MB, free: 7.773 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.28/3.28, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.00206/0.00206, allocations: 71.53 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3942, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002464/0.3967, allocations: 0.9682 MB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.3987, allocations: 1.281 MB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3989, allocations: 3.938 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.399, allocations: 19.8 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.3991, allocations: 27.72 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.3997, allocations: 173.9 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.4001, allocations: 228.1 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.4003, allocations: 61.17 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.4005, allocations: 99.69 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.4006, allocations: 87.53 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.4007, allocations: 20 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-05/0.4008, allocations: 35.98 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.4008, allocations: 35.91 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.4009, allocations: 79.64 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.4013, allocations: 263 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4013, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4013, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.4013, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 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.0007947/0.4021, allocations: 431.2 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4022, allocations: 8.031 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.4022, allocations: 46.73 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.4024, allocations: 28.83 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.4026, allocations: 174.4 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4027, allocations: 12.38 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.4027, allocations: 20.12 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.403, allocations: 129.6 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.403, allocations: 0 / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.403, allocations: 8 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.403, allocations: 4 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.4032, allocations: 87.89 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007509/0.404, allocations: 443.4 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.4043, allocations: 102.5 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.4044, allocations: 40.97 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.4045, allocations: 4 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.4047, allocations: 99.3 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.4047, allocations: 0 / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.000428/0.4052, allocations: 157.6 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.4052, allocations: 51.41 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.4054, allocations: 191.5 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.4055, allocations: 33.7 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4056, allocations: 120.3 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.4056, allocations: 31.7 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.4057, allocations: 49.69 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4059, allocations: 326.8 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.4061, allocations: 85.67 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.4063, allocations: 145.5 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.4065, allocations: 131.8 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4065, allocations: 0 / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004829/0.407, allocations: 249 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.407, allocations: 37.7 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4071, allocations: 3.938 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4071, allocations: 4 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.373e-05/0.4072, allocations: 15.98 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4072, allocations: 3.938 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.4074, allocations: 47.84 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.4074, allocations: 11.92 kB / 1.37 GB, free: 7.188 MB / 1.061 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.0001412/0.4076, allocations: 138.4 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.4076, allocations: 7.953 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.4076, allocations: 17.39 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4076, allocations: 4 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4077, allocations: 0 / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.4077, allocations: 7.984 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4079, allocations: 200.6 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4079, allocations: 0 / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.408, allocations: 12 kB / 1.37 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.408, allocations: 3.938 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.408, allocations: 7.984 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.408, allocations: 0 / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.408, allocations: 0 / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.4083, allocations: 156.8 kB / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.4083, allocations: 19.84 kB / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.4083, allocations: 4 kB / 1.37 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.4084, allocations: 11.98 kB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.4084, allocations: 11.97 kB / 1.37 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.4084, allocations: 4 kB / 1.37 GB, free: 6.512 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001255/0.4086, allocations: 135.2 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4086, allocations: 7.938 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002404/0.4088, allocations: 32 kB / 1.371 GB, free: 6.34 MB / 1.061 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.0006467/0.4095, allocations: 0.6981 MB / 1.371 GB, free: 5.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.4098, allocations: 193 kB / 1.371 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4098, allocations: 0 / 1.371 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.41, allocations: 47.92 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.4102, allocations: 34.7 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.4129, allocations: 2.048 MB / 1.374 GB, free: 3.156 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.413, allocations: 103.2 kB / 1.374 GB, free: 3.035 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.207e-05/0.4131, allocations: 13.08 kB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.4131, allocations: 43.42 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.4131, allocations: 0 / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.4449, allocations: 4.467 MB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12, allocations: 5.938 kB / 1.378 GB, free: 14.7 MB / 1.076 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.00070055294782]