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.001041/0.001041, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00168/0.00168, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9601/0.9601, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.946/1.946, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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 1.953e-06/1.953e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.653e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001875/0.001901, allocations: 1.02 MB / 0.8125 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003281, allocations: 1.308 MB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.003364, allocations: 4 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.003486, allocations: 23.73 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.003562, allocations: 25.19 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.003993, allocations: 176.3 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.004212, allocations: 228 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.004372, allocations: 66.03 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.004584, allocations: 131.7 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.004707, allocations: 68.3 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.004738, allocations: 20.62 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.00481, allocations: 43.92 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.21e-05/0.004843, allocations: 37.09 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.00491, allocations: 67.81 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.00512, allocations: 167.5 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005122, allocations: 2.438 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005123, allocations: 0 / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.005128, 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.0005971/0.005725, allocations: 0.5132 MB / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.005767, allocations: 12.03 kB / 0.8153 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.005912, allocations: 37.36 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.006118, allocations: 176.5 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.006136, allocations: 13.69 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.006163, allocations: 20.31 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.006351, allocations: 118.8 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006361, allocations: 1.062 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.00638, allocations: 11.94 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.006388, allocations: 0.8125 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.006474, allocations: 45.02 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.007016, allocations: 461.1 kB / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.007223, allocations: 75.16 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.00727, allocations: 27.62 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.007293, allocations: 5.156 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.007408, allocations: 93.09 kB / 0.8164 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.007409, allocations: 0.7812 kB / 0.8164 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002382/0.007647, allocations: 105.6 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.007682, allocations: 56 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.007794, allocations: 212.7 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.007816, allocations: 30.42 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.007894, allocations: 175.1 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.007917, allocations: 36.91 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.00798, allocations: 43.36 kB / 0.817 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.008095, allocations: 0.4923 MB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.00819, allocations: 71.2 kB / 0.8175 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.008291, allocations: 138 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.008403, allocations: 101.2 kB / 0.8178 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008405, allocations: 0 / 0.8178 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002449/0.00865, allocations: 230.7 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.008683, allocations: 33.7 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.00869, allocations: 3.984 kB / 0.818 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.008708, allocations: 0 / 0.818 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.008786, allocations: 17.38 kB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.008793, allocations: 0 / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.008901, allocations: 37.14 kB / 0.8181 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.008916, allocations: 4 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 8.727e-05/0.009004, allocations: 177 kB / 0.8182 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.009021, allocations: 15.89 kB / 0.8183 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.009062, allocations: 17.3 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.009065, allocations: 4.906 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.009069, allocations: 0 / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009073, allocations: 0.8438 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.009201, allocations: 172.5 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.009202, allocations: 0 / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.009e-05/0.009242, allocations: 17.22 kB / 0.8185 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009244, allocations: 0 / 0.8185 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.009253, allocations: 3.984 kB / 0.8185 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.009255, allocations: 4.688 kB / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.009256, allocations: 0 / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.0094, allocations: 137.7 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.009414, allocations: 19.78 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.009432, allocations: 1.562 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.944e-05/0.009461, allocations: 11.98 kB / 0.8186 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.009507, allocations: 11.97 kB / 0.8186 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.009515, allocations: 4 kB / 0.8186 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.009573, allocations: 152.2 kB / 0.8188 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009573, allocations: 0 / 0.8188 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001594/0.009733, allocations: 39.89 kB / 0.8188 GB, free: 9.922 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.0001131/0.009846, allocations: 106.6 kB / 0.8189 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.0101, allocations: 172.7 kB / 0.8191 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.0101, allocations: 4 kB / 0.8191 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.01017, allocations: 39.61 kB / 0.8191 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.01037, allocations: 31.45 kB / 0.8192 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.01091, allocations: 283.6 kB / 0.8194 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.01095, allocations: 72.45 kB / 0.8195 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.01099, allocations: 8.969 kB / 0.8195 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.01103, allocations: 17 kB / 0.8195 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of SimCode: time 9.21e-07/0.01103, allocations: 0.9375 kB / 0.8195 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of Templates: time 0.004033/0.01507, allocations: 2.197 MB / 0.8217 GB, free: 7.016 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.388595524709672]