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.001741/0.001741, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002361/0.002361, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.905/2.905, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] 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.805e-06/2.805e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.402e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002503/0.002537, allocations: 0.976 MB / 0.8118 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.004769, allocations: 1.284 MB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.004894, allocations: 4 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.00504, allocations: 20.33 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.005144, allocations: 25 kB / 0.8131 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.005763, allocations: 177.4 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.006131, allocations: 232 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.006317, allocations: 63.19 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.006626, allocations: 131.8 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.006802, allocations: 72.34 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.006857, allocations: 24 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.006955, allocations: 36.81 kB / 0.8138 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.007005, allocations: 35.89 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.007114, allocations: 65.11 kB / 0.8139 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.007547, allocations: 287 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.007551, allocations: 0 / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007552, allocations: 0 / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.00756, allocations: 0.5625 kB / 0.8141 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.0009142/0.008475, allocations: 428.5 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.008514, allocations: 8.031 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.008766, allocations: 43.2 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.009082, allocations: 165.7 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.00911, allocations: 16.36 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.00915, allocations: 16.38 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.009471, allocations: 131.5 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.009482, allocations: 0.7812 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.009509, allocations: 11.94 kB / 0.8149 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.009514, allocations: 0.6875 kB / 0.8149 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.009764, allocations: 93.19 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.01061, allocations: 409.5 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.01094, allocations: 94.67 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.01106, allocations: 44.97 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.0111, allocations: 13.86 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.01136, allocations: 83.38 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.01136, allocations: 0 / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.000485/0.01185, allocations: 162.8 kB / 0.8158 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.0119, allocations: 59.34 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.01209, allocations: 153.2 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.01213, allocations: 33.7 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.01225, allocations: 125.7 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.01229, allocations: 35.69 kB / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.0124, allocations: 45.69 kB / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003042/0.0127, allocations: 323.4 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.01289, allocations: 86.2 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.01312, allocations: 139.7 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.01339, allocations: 129 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01339, allocations: 0 / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005374/0.01393, allocations: 262.8 kB / 0.8171 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.01398, allocations: 33.69 kB / 0.8171 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.01399, allocations: 4 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.01401, allocations: 1.156 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.01411, allocations: 15.98 kB / 0.8172 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01411, allocations: 0 / 0.8172 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.01437, allocations: 53.22 kB / 0.8172 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.0144, allocations: 4.906 kB / 0.8172 GB, free: 11.32 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.0001437/0.01454, allocations: 130.6 kB / 0.8173 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.01458, allocations: 19.89 kB / 0.8174 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.01462, allocations: 12.77 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01463, allocations: 5.281 kB / 0.8174 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01463, allocations: 0 / 0.8174 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01464, allocations: 0 / 0.8174 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.01484, allocations: 165.9 kB / 0.8175 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01484, allocations: 0 / 0.8175 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-05/0.01494, allocations: 20.77 kB / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01494, allocations: 0 / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.01495, allocations: 1.594 kB / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.01496, allocations: 3.984 kB / 0.8176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01496, allocations: 0 / 0.8176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.01528, allocations: 160.9 kB / 0.8177 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.01531, allocations: 16.81 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.01533, allocations: 0 / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.01541, allocations: 15.36 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.01547, allocations: 11.97 kB / 0.8177 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.01549, allocations: 7.984 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001077/0.01559, allocations: 111.3 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01559, allocations: 0 / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002768/0.01587, allocations: 39.89 kB / 0.8179 GB, free: 10.57 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.0001951/0.01607, allocations: 111.1 kB / 0.818 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.01651, allocations: 202.7 kB / 0.8182 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01651, allocations: 0 / 0.8182 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.01663, allocations: 44.8 kB / 0.8182 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.01695, allocations: 35.39 kB / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.01761, allocations: 275.2 kB / 0.8185 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.01773, allocations: 109.8 kB / 0.8186 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.078e-05/0.01779, allocations: 4.984 kB / 0.8186 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.01785, allocations: 28.42 kB / 0.8187 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.01785, allocations: 0 / 0.8187 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of Templates: time 0.006531/0.02438, allocations: 2.181 MB / 0.8208 GB, free: 7.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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.940020477981307]