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.001367/0.001367, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001387/0.001387, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9387/0.9387, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.876/1.876, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.627e-06/3.627e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.054e-05/4.416e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002078/0.002122, allocations: 1.015 MB / 0.8125 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.003744, allocations: 1.312 MB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.003852, allocations: 1.594 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.003965, allocations: 15.8 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.623e-05/0.004042, allocations: 27.67 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.004545, allocations: 177.3 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.004803, allocations: 232 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.004952, allocations: 61.02 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.005191, allocations: 132.5 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.005326, allocations: 76.23 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.00536, allocations: 20 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.676e-05/0.005437, allocations: 36.66 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.005469, allocations: 39.83 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.005538, allocations: 60.42 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.005757, allocations: 176.7 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.00576, allocations: 0 / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005762, allocations: 3.938 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.005767, allocations: 0 / 0.8148 GB, free: 14.38 MB / 0.7761 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.0005712/0.006338, allocations: 0.519 MB / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.006373, allocations: 8.031 kB / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.006523, allocations: 40.83 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.006705, allocations: 169.5 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.006722, allocations: 16.31 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.006748, allocations: 24.36 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.006918, allocations: 116.1 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.006925, allocations: 192 / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.006939, allocations: 12.12 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.006946, allocations: 5.219 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.729e-05/0.007024, allocations: 41.03 kB / 0.8157 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.007545, allocations: 455.9 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.007742, allocations: 80.31 kB / 0.8162 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.007788, allocations: 27.8 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.007806, allocations: 3.938 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.00792, allocations: 93.89 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.714e-06/0.007921, allocations: 0 / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002323/0.008154, allocations: 114.8 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.008211, allocations: 51.41 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.008326, allocations: 208.7 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.00835, allocations: 31.02 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.008423, allocations: 183 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.008447, allocations: 35.64 kB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.008513, allocations: 53.06 kB / 0.817 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.008624, allocations: 0.4884 MB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.008715, allocations: 69.67 kB / 0.8175 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.535e-05/0.00881, allocations: 132.2 kB / 0.8177 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.00893, allocations: 107.3 kB / 0.8178 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.008933, allocations: 0 / 0.8178 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003243/0.009257, allocations: 224.9 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.009299, allocations: 37.69 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.009305, allocations: 0 / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.009321, allocations: 0.5 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.009392, allocations: 15.98 kB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.009397, allocations: 0.5312 kB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-05/0.009489, allocations: 33.88 kB / 0.8181 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.009508, allocations: 7.984 kB / 0.8181 GB, free: 10.76 MB / 0.7761 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.0001015/0.009609, allocations: 169.4 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.009629, allocations: 19.89 kB / 0.8183 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.009659, allocations: 12.77 kB / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.009662, allocations: 4.781 kB / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.009667, allocations: 0 / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.00967, allocations: 0.6562 kB / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.009793, allocations: 168.5 kB / 0.8184 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009795, allocations: 3 kB / 0.8184 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.009841, allocations: 15.98 kB / 0.8185 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.009845, allocations: 3.938 kB / 0.8185 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.009855, allocations: 7.938 kB / 0.8185 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.009857, allocations: 4 kB / 0.8185 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009859, allocations: 0 / 0.8185 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.01001, allocations: 136.3 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.01004, allocations: 15.84 kB / 0.8186 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.01006, allocations: 2.531 kB / 0.8186 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.079e-05/0.01009, allocations: 8 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.01015, allocations: 11.97 kB / 0.8186 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.01016, allocations: 4 kB / 0.8186 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.578e-05/0.01022, allocations: 151.2 kB / 0.8188 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01022, allocations: 0 / 0.8188 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001793/0.0104, allocations: 44.83 kB / 0.8188 GB, free: 9.934 MB / 0.7761 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.0001477/0.01055, allocations: 108.3 kB / 0.8189 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.01078, allocations: 176.6 kB / 0.8191 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01078, allocations: 1.125 kB / 0.8191 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.84e-05/0.01083, allocations: 43.59 kB / 0.8191 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.01106, allocations: 27.16 kB / 0.8192 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.01164, allocations: 280.3 kB / 0.8194 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.01181, allocations: 75.19 kB / 0.8195 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.416e-05/0.01186, allocations: 9.484 kB / 0.8195 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.01189, allocations: 16.48 kB / 0.8195 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.0119, allocations: 1.375 kB / 0.8195 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of Templates: time 0.004745/0.01664, allocations: 2.354 MB / 0.8218 GB, free: 6.859 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.220743762329221]