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.001759/0.001759, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002237/0.002237, allocations: 163.2 kB / 22.46 MB, free: 5.359 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.595/1.595, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.041/3.041, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.622e-05/3.885e-05, allocations: 6.219 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.003343/0.003382, allocations: 0.9751 MB / 1.001 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.006363, allocations: 1.295 MB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.006494, allocations: 0 / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.006657, allocations: 23.73 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.006784, allocations: 23.75 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.0076, allocations: 177.9 kB / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.008032, allocations: 232 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.00828, allocations: 61.02 kB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.008624, allocations: 127.8 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.008835, allocations: 71.77 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.444e-05/0.0089, allocations: 20 kB / 1.003 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.009032, allocations: 43.98 kB / 1.003 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.009106, allocations: 39.83 kB / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.009243, allocations: 63.89 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.00979, allocations: 279.1 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.009798, allocations: 4 kB / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.0098, allocations: 0 / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.009812, allocations: 0 / 1.003 GB, free: 3.867 MB / 0.9512 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.001055/0.01087, allocations: 427.2 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.01092, allocations: 15.98 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.01117, allocations: 28.84 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.01153, allocations: 165.7 kB / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.01155, allocations: 16.36 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.01161, allocations: 16.38 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.01203, allocations: 134.6 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.01204, allocations: 4.125 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.01207, allocations: 7.938 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.01208, allocations: 7.984 kB / 1.004 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.0124, allocations: 87.95 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.01342, allocations: 408 kB / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.01385, allocations: 98.61 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.01402, allocations: 44.78 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.01404, allocations: 0 / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003507/0.01439, allocations: 103.4 kB / 1.005 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.913e-06/0.0144, allocations: 0 / 1.005 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0005981/0.01499, allocations: 153.6 kB / 1.005 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.01505, allocations: 51.41 kB / 1.005 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.01527, allocations: 160.9 kB / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.01531, allocations: 29.7 kB / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.01544, allocations: 120.5 kB / 1.005 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.0155, allocations: 39.62 kB / 1.005 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.01563, allocations: 41.7 kB / 1.006 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.01582, allocations: 322.8 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.0161, allocations: 89.66 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.01642, allocations: 148 kB / 1.006 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.01679, allocations: 130.4 kB / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01679, allocations: 0 / 1.006 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007098/0.0175, allocations: 244.9 kB / 1.006 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.01756, allocations: 37.69 kB / 1.006 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.01757, allocations: 0 / 1.006 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.01759, allocations: 0 / 1.006 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.01773, allocations: 19.98 kB / 1.006 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.01774, allocations: 8 kB / 1.006 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.01809, allocations: 39.86 kB / 1.006 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.01814, allocations: 11.98 kB / 1.007 GB, free: 488 kB / 0.9512 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.0001784/0.01831, allocations: 125.8 kB / 1.007 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.01836, allocations: 19.84 kB / 1.007 GB, free: 332 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.01841, allocations: 12.77 kB / 1.007 GB, free: 324 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.01842, allocations: 4 kB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.01842, allocations: 8 kB / 1.007 GB, free: 312 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01843, allocations: 0 / 1.007 GB, free: 312 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.01869, allocations: 161.3 kB / 1.007 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01869, allocations: 0 / 1.007 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.01881, allocations: 23.86 kB / 1.007 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01881, allocations: 0 / 1.007 GB, free: 96 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01883, allocations: 3.938 kB / 1.007 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01883, allocations: 3.938 kB / 1.007 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.01883, allocations: 0 / 1.007 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.01925, allocations: 145.7 kB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.01929, allocations: 27.58 kB / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.01933, allocations: 4 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01943, allocations: 4 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.01951, allocations: 19.97 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.01953, allocations: 3.938 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001484/0.01968, allocations: 118.3 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01968, allocations: 0 / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00045/0.02013, allocations: 39.89 kB / 1.007 GB, free: 15.71 MB / 0.9669 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.0002235/0.02035, allocations: 107.2 kB / 1.007 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006021/0.02095, allocations: 204.9 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.02095, allocations: 0 / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.02112, allocations: 35.98 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.02156, allocations: 31.78 kB / 1.008 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007721/0.02233, allocations: 266.5 kB / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.02247, allocations: 98.92 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.465e-05/0.02255, allocations: 16.95 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.02262, allocations: 16.5 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.02262, allocations: 0 / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of Templates: time 0.008597/0.03122, allocations: 2.165 MB / 1.01 GB, free: 12.75 MB / 0.9669 GB " [Timeout remaining time 300] 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: 8.777386762201786]