Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001458/0.001458, allocations: 106.7 kB / 16.45 MB, free: 5.91 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.001466/0.001466, allocations: 217.6 kB / 19.43 MB, free: 3.602 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.431/3.431, allocations: 0.5049 GB / 0.8065 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002635/0.002635, allocations: 76.59 kB / 1.172 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4721, allocations: 180.2 MB / 1.348 GB, free: 9.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002463/0.4745, allocations: 1.042 MB / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.4767, allocations: 1.304 MB / 1.35 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.4769, allocations: 0 / 1.35 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.477, allocations: 23.73 kB / 1.351 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.4771, allocations: 19.8 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.4778, allocations: 174.2 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.4783, allocations: 236.1 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.4785, allocations: 60.5 kB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.4787, allocations: 99.67 kB / 1.351 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.479, allocations: 95.53 kB / 1.351 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.479, allocations: 20 kB / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.4791, allocations: 43.98 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.4792, allocations: 35.84 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.4793, allocations: 99.56 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.4797, allocations: 254.9 kB / 1.352 GB, free: 5.961 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4797, allocations: 0 / 1.352 GB, free: 5.961 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4797, allocations: 0 / 1.352 GB, free: 5.961 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.4798, allocations: 0 / 1.352 GB, free: 5.961 MB / 1.045 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.001007/0.4808, allocations: 0.4925 MB / 1.352 GB, free: 5.414 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4808, allocations: 16.03 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.481, allocations: 36.78 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.4813, allocations: 224.2 kB / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.4813, allocations: 16.38 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.4814, allocations: 16.38 kB / 1.352 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.4817, allocations: 133.5 kB / 1.353 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4817, allocations: 0 / 1.353 GB, free: 4.938 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4817, allocations: 4 kB / 1.353 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.4817, allocations: 7.984 kB / 1.353 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.4819, allocations: 87.97 kB / 1.353 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008431/0.4828, allocations: 0.5079 MB / 1.353 GB, free: 4.281 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.4831, allocations: 98.66 kB / 1.353 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.4832, allocations: 44.84 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.4832, allocations: 4.172 kB / 1.353 GB, free: 4.125 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.4835, allocations: 99.23 kB / 1.353 GB, free: 4.016 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.674e-06/0.4835, allocations: 0 / 1.353 GB, free: 4.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0004302/0.4839, allocations: 145.6 kB / 1.353 GB, free: 3.867 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.484, allocations: 55.41 kB / 1.354 GB, free: 3.801 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.4842, allocations: 186.7 kB / 1.354 GB, free: 3.602 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.4842, allocations: 37.64 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4843, allocations: 124.3 kB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.4844, allocations: 27.75 kB / 1.354 GB, free: 3.406 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.4845, allocations: 49.69 kB / 1.354 GB, free: 3.352 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.4847, allocations: 326.8 kB / 1.354 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.4849, allocations: 55.91 kB / 1.354 GB, free: 2.969 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.485, allocations: 87.41 kB / 1.354 GB, free: 2.871 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.4853, allocations: 130.4 kB / 1.354 GB, free: 2.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4853, allocations: 0 / 1.354 GB, free: 2.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004776/0.4858, allocations: 223.2 kB / 1.355 GB, free: 2.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.4858, allocations: 41.69 kB / 1.355 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4858, allocations: 0 / 1.355 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.4859, allocations: 4 kB / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.486, allocations: 12 kB / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.486, allocations: 0 / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.4862, allocations: 47.84 kB / 1.355 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.4862, allocations: 7.984 kB / 1.355 GB, free: 2.383 MB / 1.045 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.0001426/0.4864, allocations: 141.7 kB / 1.355 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.4864, allocations: 11.91 kB / 1.355 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.4864, allocations: 17.39 kB / 1.355 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4864, allocations: 0 / 1.355 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.4865, allocations: 4 kB / 1.355 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4865, allocations: 3.984 kB / 1.355 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.4867, allocations: 245.5 kB / 1.355 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4867, allocations: 0 / 1.355 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.4868, allocations: 11.98 kB / 1.355 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4868, allocations: 8 kB / 1.355 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4868, allocations: 4 kB / 1.355 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4868, allocations: 0 / 1.355 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4868, allocations: 0 / 1.355 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.4871, allocations: 161.3 kB / 1.355 GB, free: 1.703 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/0.4872, allocations: 92.95 kB / 1.355 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.4872, allocations: 3.984 kB / 1.355 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.4873, allocations: 12 kB / 1.356 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.4873, allocations: 11.98 kB / 1.356 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.4874, allocations: 3.984 kB / 1.356 GB, free: 1.562 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001224/0.4875, allocations: 144.5 kB / 1.356 GB, free: 1.422 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4875, allocations: 0 / 1.356 GB, free: 1.422 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002481/0.4877, allocations: 39.89 kB / 1.356 GB, free: 1.383 MB / 1.045 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.0001674/0.4879, allocations: 103.2 kB / 1.356 GB, free: 1.273 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.4883, allocations: 175.2 kB / 1.356 GB, free: 1.09 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4883, allocations: 4 kB / 1.356 GB, free: 1.086 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4884, allocations: 43.92 kB / 1.356 GB, free: 1.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.4887, allocations: 27.86 kB / 1.356 GB, free: 1.016 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.4892, allocations: 276.5 kB / 1.356 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.4896, allocations: 0.7161 MB / 1.357 GB, free: 15.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.684e-05/0.4897, allocations: 13.08 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.4897, allocations: 15.44 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.4897, allocations: 0 / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of Templates: time 0.005995/0.4957, allocations: 2.157 MB / 1.359 GB, free: 13.83 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.756369674578309]