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.00147/0.00147, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001138/0.001138, allocations: 159.5 kB / 24.86 MB, free: 9.289 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 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.921/1.921, allocations: 377.9 MB / 0.6247 GB, free: 8.395 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 2.435e-06/2.435e-06, allocations: 0 / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.799e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002567/0.002595, allocations: 0.9942 MB / 0.8137 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.00457, allocations: 1.311 MB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.00471, allocations: 0 / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.004856, allocations: 23.73 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.004966, allocations: 20.53 kB / 0.8151 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.005616, allocations: 181.1 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.005949, allocations: 228 kB / 0.8154 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.006137, allocations: 62.55 kB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.006451, allocations: 131.8 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.006615, allocations: 67.77 kB / 0.8157 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.006656, allocations: 20 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.73e-05/0.006753, allocations: 45.11 kB / 0.8158 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.006798, allocations: 39.83 kB / 0.8158 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.006884, allocations: 63.83 kB / 0.8159 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.00719, allocations: 177 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.007194, allocations: 0 / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007195, allocations: 0 / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.0072, allocations: 0 / 0.816 GB, free: 14.13 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.0007589/0.007959, allocations: 0.5139 MB / 0.8165 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.008003, allocations: 12.56 kB / 0.8165 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.008195, allocations: 38.48 kB / 0.8166 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.008437, allocations: 174.9 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.008463, allocations: 12.38 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.008496, allocations: 16.38 kB / 0.8168 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.008696, allocations: 106.9 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.008708, allocations: 4.781 kB / 0.8169 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.008723, allocations: 9.156 kB / 0.8169 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.008731, allocations: 4 kB / 0.8169 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.456e-05/0.008816, allocations: 33.03 kB / 0.8169 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.009478, allocations: 429 kB / 0.8173 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.009713, allocations: 84.33 kB / 0.8174 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.009763, allocations: 27.8 kB / 0.8174 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.009783, allocations: 0 / 0.8174 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.009926, allocations: 90.78 kB / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.009927, allocations: 0 / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002795/0.01021, allocations: 101.9 kB / 0.8176 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.01025, allocations: 59.34 kB / 0.8177 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.0104, allocations: 206.7 kB / 0.8179 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.01043, allocations: 29.7 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01054, allocations: 175.1 kB / 0.8181 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.01058, allocations: 43.67 kB / 0.8181 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.01067, allocations: 47.33 kB / 0.8182 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.01083, allocations: 0.4929 MB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.01093, allocations: 57.69 kB / 0.8187 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.01106, allocations: 131.4 kB / 0.8188 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.0112, allocations: 100.7 kB / 0.8189 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.01121, allocations: 4 kB / 0.8189 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003174/0.01153, allocations: 204.9 kB / 0.8191 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.01157, allocations: 39.53 kB / 0.8191 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01158, allocations: 0 / 0.8191 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01159, allocations: 4 kB / 0.8192 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.01168, allocations: 8 kB / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.01168, allocations: 4 kB / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.01183, allocations: 33.02 kB / 0.8192 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.01185, allocations: 9.797 kB / 0.8192 GB, free: 10.62 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.0001182/0.01197, allocations: 172.7 kB / 0.8194 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.012, allocations: 15.89 kB / 0.8194 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.01204, allocations: 16.72 kB / 0.8194 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01204, allocations: 6.562 kB / 0.8194 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01205, allocations: 0 / 0.8194 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.01206, allocations: 3.984 kB / 0.8194 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.01222, allocations: 145.1 kB / 0.8195 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01222, allocations: 0 / 0.8195 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-05/0.01229, allocations: 12 kB / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01229, allocations: 0 / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01231, allocations: 9.109 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01231, allocations: 3.938 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.01231, allocations: 3.938 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.0125, allocations: 121.1 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.01252, allocations: 11.91 kB / 0.8197 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.01255, allocations: 8.594 kB / 0.8197 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.01259, allocations: 16.7 kB / 0.8197 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.01265, allocations: 19.97 kB / 0.8197 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.01265, allocations: 3.688 kB / 0.8197 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.977e-05/0.01273, allocations: 147.1 kB / 0.8199 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01273, allocations: 0 / 0.8199 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000301/0.01304, allocations: 39.89 kB / 0.8199 GB, free: 9.828 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.0001572/0.01319, allocations: 109.7 kB / 0.82 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.01344, allocations: 160.7 kB / 0.8202 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01344, allocations: 0 / 0.8202 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.01351, allocations: 41.53 kB / 0.8202 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01379, allocations: 30.2 kB / 0.8203 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.01446, allocations: 268.7 kB / 0.8205 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.217e-05/0.01451, allocations: 79.08 kB / 0.8206 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.01457, allocations: 10.09 kB / 0.8206 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.01472, allocations: 106.2 kB / 0.8207 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/0.01473, allocations: 1.094 kB / 0.8207 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of Templates: time 0.006582/0.02131, allocations: 2.439 MB / 0.8231 GB, free: 6.609 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.413675482850522]