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: 104.4 kB / 19.7 MB, free: 2.125 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.001514/0.001514, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.207/3.207, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 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: 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_12_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_12_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.002104/0.002104, allocations: 72.28 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3423, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.003212/0.3455, allocations: 0.9636 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.3478, allocations: 1.28 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.3479, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.3481, allocations: 23.8 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.3482, allocations: 23.72 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.3488, allocations: 178.3 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.3492, allocations: 232 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.3494, allocations: 56.91 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.3496, allocations: 103.6 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.3498, allocations: 83.59 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.3499, allocations: 20 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.35, allocations: 35.98 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.35, allocations: 39.84 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.3501, allocations: 75.7 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.3505, allocations: 270.9 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3505, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3505, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3505, allocations: 0 / 1.33 GB, free: 14.57 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.0008234/0.3513, allocations: 423.2 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3514, allocations: 8.031 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.3516, allocations: 32.78 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.3518, allocations: 170.4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3519, allocations: 16.38 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.3519, allocations: 16.38 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.3522, allocations: 138.1 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3522, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3522, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.3523, allocations: 7.984 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.3525, allocations: 83.91 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.3533, allocations: 411.9 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.3536, allocations: 102.6 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3537, allocations: 40.84 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3537, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.354, allocations: 95.34 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.354, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004205/0.3544, allocations: 153.7 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3545, allocations: 55.41 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3547, allocations: 160.9 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.3547, allocations: 29.69 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3548, allocations: 132.3 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.3548, allocations: 27.8 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.3549, allocations: 37.7 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3551, allocations: 326.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3553, allocations: 89.66 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.3555, allocations: 142.6 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.3557, allocations: 140.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3557, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004598/0.3562, allocations: 252.8 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.3562, allocations: 37.69 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3562, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3563, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.3564, allocations: 19.94 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3564, allocations: 7.969 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.3566, allocations: 40.03 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.3566, allocations: 7.984 kB / 1.333 GB, free: 11.17 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.0001364/0.3568, allocations: 133.8 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.3568, allocations: 11.91 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.3568, allocations: 12.72 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3568, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.3568, allocations: 3.984 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3568, allocations: 4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.357, allocations: 165.2 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.357, allocations: 4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.3571, allocations: 15.92 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3571, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3571, allocations: 4 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3571, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3571, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3574, allocations: 153.4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.3574, allocations: 15.89 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3575, allocations: 7.969 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.3575, allocations: 8 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.3576, allocations: 15.97 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3576, allocations: 4 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001088/0.3577, allocations: 117.7 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3577, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000265/0.358, allocations: 39.89 kB / 1.333 GB, free: 10.41 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.0001582/0.3581, allocations: 103.2 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.3586, allocations: 217 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3586, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3587, allocations: 35.98 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.359, allocations: 33.55 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.3596, allocations: 302.6 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.3597, allocations: 102.9 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.3597, allocations: 23.42 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3597, allocations: 0 / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of Templates: time 0.004535/0.3642, allocations: 1.994 MB / 1.336 GB, free: 7.547 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.054754661396146]