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.0009884/0.0009884, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001247/0.001247, allocations: 181 kB / 24.09 MB, free: 420 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.624 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] 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.446e-06/3.446e-06, allocations: 0 / 0.812 GB, free: 352 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.103e-05, allocations: 3.078 kB / 0.812 GB, free: 348 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001852/0.001883, allocations: 0.9954 MB / 0.813 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.003489, allocations: 1.311 MB / 0.8142 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.003607, allocations: 5.406 kB / 0.8142 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.003728, allocations: 19.73 kB / 0.8143 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.003801, allocations: 19.8 kB / 0.8143 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.004272, allocations: 176.6 kB / 0.8144 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.004532, allocations: 241.1 kB / 0.8147 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.004684, allocations: 57 kB / 0.8147 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.004917, allocations: 139.6 kB / 0.8149 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.005034, allocations: 68.44 kB / 0.8149 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.005066, allocations: 26.41 kB / 0.815 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.005141, allocations: 35.97 kB / 0.815 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.005172, allocations: 39.84 kB / 0.815 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.00523, allocations: 67.81 kB / 0.8151 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.005443, allocations: 167.4 kB / 0.8153 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005447, allocations: 0 / 0.8153 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005448, allocations: 0 / 0.8153 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.005451, allocations: 1.344 kB / 0.8153 GB, free: 12.99 MB / 0.7292 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.0005416/0.005993, allocations: 0.5167 MB / 0.8158 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.006036, allocations: 17.61 kB / 0.8158 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.006162, allocations: 32.84 kB / 0.8158 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.006333, allocations: 177 kB / 0.816 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.00635, allocations: 8.375 kB / 0.816 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.006371, allocations: 16.91 kB / 0.816 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.006527, allocations: 111.4 kB / 0.8161 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.006537, allocations: 192 / 0.8161 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.00655, allocations: 8.656 kB / 0.8161 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.006557, allocations: 5.188 kB / 0.8161 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.00661, allocations: 41 kB / 0.8162 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.007078, allocations: 420.4 kB / 0.8166 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.007248, allocations: 76.39 kB / 0.8166 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.00728, allocations: 23.8 kB / 0.8167 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.007303, allocations: 5.156 kB / 0.8167 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.007435, allocations: 89.06 kB / 0.8167 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.545e-06/0.007438, allocations: 0 / 0.8167 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0002042/0.007642, allocations: 102.5 kB / 0.8168 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.007677, allocations: 55.41 kB / 0.8169 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.007783, allocations: 207.2 kB / 0.8171 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.007806, allocations: 33.7 kB / 0.8171 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.007883, allocations: 171.1 kB / 0.8173 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.007913, allocations: 40.67 kB / 0.8173 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/0.007976, allocations: 51.34 kB / 0.8174 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.008113, allocations: 0.4923 MB / 0.8179 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.008186, allocations: 54.8 kB / 0.8179 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-05/0.008282, allocations: 132.4 kB / 0.818 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.00839, allocations: 104.5 kB / 0.8181 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008392, allocations: 0 / 0.8181 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002482/0.00864, allocations: 206.3 kB / 0.8183 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.008683, allocations: 33.7 kB / 0.8184 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.008689, allocations: 3.938 kB / 0.8184 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.008707, allocations: 6.891 kB / 0.8184 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.008774, allocations: 15.98 kB / 0.8184 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.008777, allocations: 0 / 0.8184 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.186e-05/0.008869, allocations: 43.8 kB / 0.8184 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.008883, allocations: 4 kB / 0.8184 GB, free: 9.48 MB / 0.7292 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 9.528e-05/0.008978, allocations: 165.1 kB / 0.8186 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.008999, allocations: 23.83 kB / 0.8186 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.009036, allocations: 14.7 kB / 0.8186 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.009039, allocations: 4 kB / 0.8186 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.009042, allocations: 0 / 0.8186 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.009045, allocations: 0 / 0.8186 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.009172, allocations: 137.2 kB / 0.8188 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.009175, allocations: 1.688 kB / 0.8188 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.009216, allocations: 19.98 kB / 0.8188 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.009219, allocations: 0 / 0.8188 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.009225, allocations: 0 / 0.8188 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.009227, allocations: 7.938 kB / 0.8188 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009228, allocations: 0.9062 kB / 0.8188 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.009379, allocations: 136.2 kB / 0.8189 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.009397, allocations: 16.69 kB / 0.8189 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.009415, allocations: 4 kB / 0.8189 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.81e-05/0.009443, allocations: 8.781 kB / 0.8189 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.009484, allocations: 11.97 kB / 0.819 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.009489, allocations: 5.281 kB / 0.819 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.031e-05/0.009549, allocations: 151.1 kB / 0.8191 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.009549, allocations: 0 / 0.8191 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001701/0.00972, allocations: 35.89 kB / 0.8191 GB, free: 8.695 MB / 0.7292 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.000149/0.009868, allocations: 110.8 kB / 0.8193 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.01006, allocations: 164.7 kB / 0.8194 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01007, allocations: 0 / 0.8194 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.01011, allocations: 40.48 kB / 0.8194 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.01032, allocations: 35.17 kB / 0.8195 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.01084, allocations: 274.5 kB / 0.8197 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.468e-05/0.01089, allocations: 67.33 kB / 0.8198 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.683e-05/0.01094, allocations: 13.91 kB / 0.8198 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.01106, allocations: 106.2 kB / 0.8199 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of SimCode: time 1.212e-06/0.01106, allocations: 1.094 kB / 0.8199 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of Templates: time 0.004571/0.01564, allocations: 2.377 MB / 0.8222 GB, free: 5.531 MB / 0.7292 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.2197444387711585]