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.001325/0.001325, allocations: 104.3 kB / 19.74 MB, free: 2.082 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.001547/0.001547, allocations: 217.5 kB / 23.04 MB, free: 4.867 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.494/3.494, allocations: 0.5097 GB / 0.8156 GB, free: 18.38 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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [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.002091/0.002091, allocations: 67.73 kB / 1.185 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4254, allocations: 181.4 MB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002535/0.4279, allocations: 0.966 MB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.4299, allocations: 1.277 MB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.43, allocations: 4 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.4301, allocations: 15.8 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.186e-05/0.4302, allocations: 31.72 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.4308, allocations: 173 kB / 1.365 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.4311, allocations: 228.1 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.4313, allocations: 60.89 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.4315, allocations: 99.69 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.4317, allocations: 83.53 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.4317, allocations: 20 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.4318, allocations: 39.98 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.4318, allocations: 31.91 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.4319, allocations: 83.64 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.4323, allocations: 259 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4323, allocations: 4 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4323, allocations: 0 / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4323, allocations: 0 / 1.366 GB, free: 12.21 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.0007785/0.4331, allocations: 423.2 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4331, allocations: 8.031 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.4333, allocations: 32.78 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.4335, allocations: 177 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.4335, allocations: 12.31 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.4336, allocations: 20.38 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.4339, allocations: 133.5 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4339, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.4339, allocations: 8 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4339, allocations: 4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.4341, allocations: 87.89 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.4348, allocations: 412 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.4351, allocations: 94.61 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4352, allocations: 44.78 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.4353, allocations: 4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.4355, allocations: 91.36 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.4355, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0004143/0.4359, allocations: 157.6 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.436, allocations: 55.41 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.4361, allocations: 152.3 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.4362, allocations: 33.69 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.4363, allocations: 132.3 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.4363, allocations: 27.8 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.4364, allocations: 41.7 kB / 1.368 GB, free: 9.941 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4365, allocations: 330.8 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.4367, allocations: 81.67 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.4369, allocations: 142.7 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.4371, allocations: 138.6 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4371, allocations: 0 / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004391/0.4376, allocations: 248.9 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.4376, allocations: 40.19 kB / 1.369 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4376, allocations: 0 / 1.369 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4376, allocations: 4 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.4377, allocations: 12 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4377, allocations: 3.938 kB / 1.369 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.4379, allocations: 47.97 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.438, allocations: 15.92 kB / 1.369 GB, free: 8.824 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.0001247/0.4381, allocations: 130.9 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.4381, allocations: 7.953 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.4382, allocations: 20.7 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4382, allocations: 0 / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4382, allocations: 0 / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4382, allocations: 7.984 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.4383, allocations: 161.2 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4383, allocations: 0 / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.4384, allocations: 15.98 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.4384, allocations: 3.938 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4384, allocations: 0 / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4384, allocations: 4 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4384, allocations: 0 / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.4387, allocations: 157.4 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.4387, allocations: 11.89 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.4388, allocations: 11.98 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.4388, allocations: 8 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.4389, allocations: 15.91 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4389, allocations: 8 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.257e-05/0.439, allocations: 112.5 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.439, allocations: 0 / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002389/0.4392, allocations: 39.89 kB / 1.369 GB, free: 8.066 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.0001495/0.4394, allocations: 107.2 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.4398, allocations: 197 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4398, allocations: 0 / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4399, allocations: 47.92 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.4401, allocations: 27.91 kB / 1.37 GB, free: 7.668 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.4407, allocations: 284.8 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.4408, allocations: 102.9 kB / 1.37 GB, free: 7.238 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.6e-05/0.4408, allocations: 12.97 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.4409, allocations: 15.44 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4409, allocations: 0 / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of Templates: time 0.006439/0.4473, allocations: 2.306 MB / 1.372 GB, free: 4.961 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 800] 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: 9.717270687920973]