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.001383/0.001383, allocations: 108.2 kB / 16.45 MB, free: 6.508 MB / 14.72 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.001596/0.001596, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 9.152 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.256/3.256, allocations: 0.49 GB / 0.7916 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 73.86 kB / 1.149 GB, free: 26.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4308, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002776/0.4336, allocations: 1.041 MB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.4356, allocations: 1.299 MB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.4357, allocations: 0 / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.4359, allocations: 15.8 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.436, allocations: 31.72 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.4366, allocations: 177.7 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.4369, allocations: 228.1 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.4371, allocations: 60.5 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.4373, allocations: 99.69 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.4375, allocations: 95.58 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.4375, allocations: 20 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.214e-05/0.4376, allocations: 39.98 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.4377, allocations: 35.84 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.4378, allocations: 91.58 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.4382, allocations: 263 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4382, allocations: 0 / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4382, allocations: 0 / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.4382, allocations: 0 / 1.325 GB, free: 15.37 MB / 1.029 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.0008789/0.4391, allocations: 0.4925 MB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4391, allocations: 15.98 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.4393, allocations: 32.78 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.4396, allocations: 220.3 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.4396, allocations: 16.38 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.4397, allocations: 16.38 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.44, allocations: 137.5 kB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.44, allocations: 3.938 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.44, allocations: 4 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.44, allocations: 4 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.4402, allocations: 83.95 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.441, allocations: 0.5235 MB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.4414, allocations: 102.4 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.4415, allocations: 36.97 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.4415, allocations: 7.984 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.4418, allocations: 91.38 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.4418, allocations: 192 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004399/0.4422, allocations: 161.4 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.4423, allocations: 63.33 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.4425, allocations: 179.2 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.4425, allocations: 33.7 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4426, allocations: 124.3 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.4427, allocations: 35.73 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.4428, allocations: 45.69 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4429, allocations: 322.8 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.4431, allocations: 63.97 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.4433, allocations: 79.41 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.4435, allocations: 135.5 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4435, allocations: 4 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004409/0.444, allocations: 215.2 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.444, allocations: 33.7 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.444, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4441, allocations: 4 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.4441, allocations: 23.98 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4442, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.4444, allocations: 39.84 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.4444, allocations: 8 kB / 1.328 GB, free: 11.78 MB / 1.029 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.0001474/0.4446, allocations: 133.8 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4446, allocations: 15.89 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.4446, allocations: 21.41 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.4446, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4446, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4447, allocations: 4 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.4449, allocations: 241.4 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4449, allocations: 4 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.445, allocations: 11.94 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.445, allocations: 4 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.445, allocations: 3.984 kB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.445, allocations: 0 / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.445, allocations: 0 / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.4453, allocations: 156.9 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.4454, allocations: 96.89 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.4454, allocations: 4 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.4455, allocations: 7.984 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.4455, allocations: 11.98 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.4455, allocations: 4 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001271/0.4457, allocations: 144.5 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4457, allocations: 7.875 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002515/0.4459, allocations: 39.89 kB / 1.329 GB, free: 10.78 MB / 1.029 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.0001753/0.4461, allocations: 103.2 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.4465, allocations: 171.3 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4465, allocations: 0 / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.4466, allocations: 48.09 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.4469, allocations: 38.56 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.4475, allocations: 273.4 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.4479, allocations: 0.72 MB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.345e-05/0.4479, allocations: 13.08 kB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.448, allocations: 19.44 kB / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.448, allocations: 0 / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of Templates: time 0.006058/0.454, allocations: 2.143 MB / 1.332 GB, free: 7.234 MB / 1.029 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: 9.537303816061467]