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.001387/0.001387, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001723/0.001723, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 1.032/1.032, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.955/1.955, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.994e-06/1.994e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.923e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001505/0.001524, allocations: 1.003 MB / 0.8125 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.002811, allocations: 1.307 MB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.002898, allocations: 9.5 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.003018, allocations: 19.8 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.003086, allocations: 19.73 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.003498, allocations: 181.1 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.003704, allocations: 224 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.003857, allocations: 64.39 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.004064, allocations: 131.8 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.00417, allocations: 75.64 kB / 0.8145 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.0042, allocations: 21.59 kB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.457e-05/0.004264, allocations: 47.91 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.004295, allocations: 35.84 kB / 0.8146 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.004361, allocations: 63.89 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.004563, allocations: 168 kB / 0.8148 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004564, allocations: 0 / 0.8148 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004565, allocations: 1.656 kB / 0.8148 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004569, allocations: 4 kB / 0.8148 GB, free: 14.71 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.0005792/0.005148, allocations: 0.5171 MB / 0.8153 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.005184, allocations: 8.688 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.005323, allocations: 42.02 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.005513, allocations: 168.5 kB / 0.8155 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.00553, allocations: 12.38 kB / 0.8155 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.005553, allocations: 16.38 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.005723, allocations: 116 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.00573, allocations: 4.188 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.005745, allocations: 9.312 kB / 0.8157 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.005755, allocations: 7.984 kB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.00584, allocations: 44.97 kB / 0.8157 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.006357, allocations: 453 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.00656, allocations: 83.09 kB / 0.8162 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.006606, allocations: 31.61 kB / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.006627, allocations: 2.344 kB / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/0.006745, allocations: 92.91 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.006746, allocations: 0 / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002365/0.006983, allocations: 109.8 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.007017, allocations: 51.41 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.007127, allocations: 208.7 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.007148, allocations: 31.7 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.007271, allocations: 179.1 kB / 0.8169 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.007297, allocations: 35.69 kB / 0.8169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.007355, allocations: 51.34 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.007474, allocations: 0.4923 MB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.007558, allocations: 70.11 kB / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.007654, allocations: 134.5 kB / 0.8177 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.007762, allocations: 104.7 kB / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007764, allocations: 0 / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002375/0.008001, allocations: 227.3 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.008031, allocations: 33.7 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008036, allocations: 0 / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.008048, allocations: 0 / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.008105, allocations: 23.92 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.008114, allocations: 4 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.978e-05/0.008203, allocations: 32.64 kB / 0.8181 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.008219, allocations: 9.156 kB / 0.8181 GB, free: 11.09 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.07e-05/0.008299, allocations: 161.2 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.008323, allocations: 19.89 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.008353, allocations: 17.52 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008354, allocations: 0 / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.008357, allocations: 0.8438 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008361, allocations: 0 / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.008469, allocations: 170.3 kB / 0.8184 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.00847, allocations: 4 kB / 0.8184 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.008507, allocations: 19.86 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.008508, allocations: 0 / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.008518, allocations: 4 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.008518, allocations: 0.8125 kB / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008519, allocations: 0 / 0.8184 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.008661, allocations: 141.7 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.008675, allocations: 15.84 kB / 0.8186 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.008694, allocations: 0 / 0.8186 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.008721, allocations: 13.11 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.008772, allocations: 7.984 kB / 0.8186 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.00878, allocations: 7.984 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.775e-05/0.008838, allocations: 152.2 kB / 0.8188 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008838, allocations: 3.938 kB / 0.8188 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001585/0.008997, allocations: 39.89 kB / 0.8188 GB, free: 10.27 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.0001071/0.009104, allocations: 105.2 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.009307, allocations: 180.6 kB / 0.8191 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.009308, allocations: 1.719 kB / 0.8191 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.009357, allocations: 39.66 kB / 0.8191 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.009541, allocations: 25.31 kB / 0.8191 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.01007, allocations: 282.1 kB / 0.8194 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.01011, allocations: 75.84 kB / 0.8195 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.01015, allocations: 20.55 kB / 0.8195 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.01018, allocations: 12.5 kB / 0.8195 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.01018, allocations: 0 / 0.8195 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.003685/0.01387, allocations: 2.192 MB / 0.8217 GB, free: 7.355 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.298886346863583]