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.001392/0.001392, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001542/0.001542, allocations: 221 kB / 22.99 MB, free: 4.914 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.384/3.384, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002075/0.002075, allocations: 63.06 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3314, allocations: 181.9 MB / 1.365 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002492/0.3338, allocations: 0.9757 MB / 1.366 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3358, allocations: 1.285 MB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3359, allocations: 4 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3361, allocations: 19.73 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/0.3362, allocations: 23.8 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.3368, allocations: 182.1 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.3371, allocations: 228.1 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.3373, allocations: 62.61 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.3375, allocations: 99.62 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.3377, allocations: 75.66 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.3377, allocations: 20 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3378, allocations: 39.98 kB / 1.368 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.3379, allocations: 43.78 kB / 1.368 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.338, allocations: 71.7 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.3383, allocations: 262.9 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3384, allocations: 4 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3384, allocations: 4 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3384, allocations: 0 / 1.368 GB, free: 10.28 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.0008021/0.3392, allocations: 427.2 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3392, allocations: 8.031 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.3394, allocations: 28.83 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.3396, allocations: 170.4 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3397, allocations: 12.38 kB / 1.369 GB, free: 9.586 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.3397, allocations: 16.38 kB / 1.369 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.34, allocations: 137.5 kB / 1.369 GB, free: 9.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.34, allocations: 3.984 kB / 1.369 GB, free: 9.426 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.34, allocations: 8 kB / 1.369 GB, free: 9.418 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.34, allocations: 0 / 1.369 GB, free: 9.418 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.3402, allocations: 83.95 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.3409, allocations: 407.9 kB / 1.369 GB, free: 8.906 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.3412, allocations: 98.53 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3414, allocations: 40.97 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3414, allocations: 4.188 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3416, allocations: 95.3 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3416, allocations: 0 / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003988/0.342, allocations: 153.5 kB / 1.37 GB, free: 8.492 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3421, allocations: 51.41 kB / 1.37 GB, free: 8.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3422, allocations: 156.5 kB / 1.37 GB, free: 8.266 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.3423, allocations: 33.7 kB / 1.37 GB, free: 8.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.3424, allocations: 132.2 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.3424, allocations: 35.73 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/0.3425, allocations: 45.7 kB / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3426, allocations: 330.7 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3428, allocations: 81.67 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.343, allocations: 150.7 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.3433, allocations: 135.5 kB / 1.371 GB, free: 7.273 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3433, allocations: 3.938 kB / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004471/0.3437, allocations: 240.9 kB / 1.371 GB, free: 7.016 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.3437, allocations: 39.27 kB / 1.371 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3437, allocations: 0 / 1.371 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3438, allocations: 4 kB / 1.371 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.3439, allocations: 15.98 kB / 1.371 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3439, allocations: 0 / 1.371 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.3441, allocations: 43.97 kB / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.3441, allocations: 8 kB / 1.371 GB, free: 6.902 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.0001352/0.3442, allocations: 138.4 kB / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.3443, allocations: 7.953 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.3443, allocations: 16.72 kB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3443, allocations: 0 / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.3443, allocations: 0 / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3443, allocations: 0 / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.3445, allocations: 169.2 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3445, allocations: 0 / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.3446, allocations: 12 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3446, allocations: 3.984 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3446, allocations: 4 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3446, allocations: 4 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3446, allocations: 0 / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.3449, allocations: 148.9 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.345, allocations: 15.84 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.345, allocations: 8 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.3451, allocations: 11.98 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.3451, allocations: 15.97 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.3451, allocations: 4 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001029/0.3452, allocations: 113.2 kB / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3452, allocations: 0 / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000252/0.3455, allocations: 43.88 kB / 1.372 GB, free: 6.141 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.000147/0.3456, allocations: 107.2 kB / 1.372 GB, free: 6.027 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.346, allocations: 201.6 kB / 1.372 GB, free: 5.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.346, allocations: 0 / 1.372 GB, free: 5.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3461, allocations: 56.06 kB / 1.372 GB, free: 5.758 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3464, allocations: 31.86 kB / 1.372 GB, free: 5.727 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.347, allocations: 298.7 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3471, allocations: 106.9 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.3472, allocations: 11.44 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/0.3472, allocations: 4 kB / 1.372 GB, free: 5.262 MB / 1.061 GB Notification: Performance of Templates: time 0.00433/0.3515, allocations: 2.009 MB / 1.374 GB, free: 3.27 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 -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: 11.340220135170966]