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.0009104/0.0009104, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001085/0.001085, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9397/0.9397, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.801/1.801, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.36e-05, allocations: 9.234 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002451/0.002484, allocations: 0.9707 MB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.004436, allocations: 1.279 MB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.004557, allocations: 7.938 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.004684, allocations: 19.73 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.311e-05/0.004777, allocations: 23.8 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.005278, allocations: 186.5 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.005506, allocations: 228.1 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.005664, allocations: 61 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.005886, allocations: 127.7 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.006001, allocations: 71.81 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.006032, allocations: 24 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.006104, allocations: 39.92 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.006136, allocations: 39.84 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.298e-05/0.006209, allocations: 67.81 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.006492, allocations: 275.2 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.006495, allocations: 0 / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.512e-06/0.006497, allocations: 0 / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.006503, allocations: 3.984 kB / 1.004 GB, free: 9.625 MB / 0.9636 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.0006326/0.007136, allocations: 435.1 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.007172, allocations: 8.031 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.007294, allocations: 28.83 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.007482, allocations: 170.5 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.007497, allocations: 12.38 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.007519, allocations: 16.38 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.007742, allocations: 130.1 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.007753, allocations: 192 / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.00777, allocations: 11.94 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.007775, allocations: 0 / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.007922, allocations: 87.95 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.008423, allocations: 411.9 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.00864, allocations: 98.66 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.0087, allocations: 44.78 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.008723, allocations: 4 kB / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.0089, allocations: 91.48 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.008901, allocations: 0 / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0002668/0.009168, allocations: 149.5 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.009199, allocations: 51.41 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.504e-05/0.009294, allocations: 168.9 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.009315, allocations: 29.7 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.009374, allocations: 124.5 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.009396, allocations: 31.7 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.009454, allocations: 49.69 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.009528, allocations: 326.8 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.009634, allocations: 77.67 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.009748, allocations: 149.6 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.009882, allocations: 132.3 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.009884, allocations: 0 / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000254/0.01014, allocations: 244.9 kB / 1.007 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.01017, allocations: 33.7 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01017, allocations: 7.875 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.01019, allocations: 4 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.01024, allocations: 19.98 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01024, allocations: 0 / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01035, allocations: 43.91 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.01037, allocations: 8 kB / 1.007 GB, free: 6.246 MB / 0.9636 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 8.546e-05/0.01045, allocations: 133.8 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.01047, allocations: 19.83 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.0105, allocations: 16.72 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.0105, allocations: 0 / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01051, allocations: 0 / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01051, allocations: 0 / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.01065, allocations: 165.2 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01065, allocations: 4 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.01069, allocations: 15.94 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01069, allocations: 0 / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.0107, allocations: 3.984 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.0107, allocations: 4 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.0107, allocations: 3.984 kB / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.01086, allocations: 145 kB / 1.008 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.01088, allocations: 27.72 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.01089, allocations: 4 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.817e-05/0.01092, allocations: 11.98 kB / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.01096, allocations: 11.98 kB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.01097, allocations: 7.984 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.01102, allocations: 113.5 kB / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01102, allocations: 0 / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001656/0.01119, allocations: 43.88 kB / 1.008 GB, free: 5.473 MB / 0.9636 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.0001304/0.01132, allocations: 99.25 kB / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.01157, allocations: 201 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01157, allocations: 3.938 kB / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.44e-05/0.01163, allocations: 52.72 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.01182, allocations: 29.91 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.01221, allocations: 288.3 kB / 1.009 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.01227, allocations: 103 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.0123, allocations: 20.5 kB / 1.009 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.0123, allocations: 0 / 1.009 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of Templates: time 0.002649/0.01495, allocations: 2.015 MB / 1.011 GB, free: 2.617 MB / 0.9636 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/jenkins/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: 6.817804717458785]