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.000793/0.000793, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001899, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006926/0.0006926, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009485/0.001641, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.064/1.064, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1017/1.166, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.854/1.854, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5488/2.403, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.174e-06/2.174e-06, allocations: 0 / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.781e-05, allocations: 8.859 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002161/0.002178, allocations: 1.038 MB / 0.7306 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.003859, allocations: 1.32 MB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.208e-05/0.003951, allocations: 2.844 kB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.882e-05/0.004029, allocations: 20.72 kB / 0.732 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.391e-05/0.004123, allocations: 30.41 kB / 0.732 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.004548, allocations: 172.2 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.004842, allocations: 224.2 kB / 0.7324 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.005015, allocations: 71.7 kB / 0.7324 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.005303, allocations: 151.6 kB / 0.7326 GB, free: 1.469 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.005455, allocations: 63.78 kB / 0.7326 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.005497, allocations: 20.62 kB / 0.7327 GB, free: 1.387 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.005607, allocations: 43.92 kB / 0.7327 GB, free: 1.344 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.005649, allocations: 24.44 kB / 0.7327 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.005721, allocations: 48.5 kB / 0.7328 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.005969, allocations: 143.5 kB / 0.7329 GB, free: 1.133 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.005985, allocations: 12.47 kB / 0.7329 GB, free: 1.121 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005985, allocations: 0 / 0.7329 GB, free: 1.121 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.006001, allocations: 0.9375 kB / 0.7329 GB, free: 1.121 MB / 0.698 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.000751/0.006752, allocations: 426 kB / 0.7333 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.006791, allocations: 8.906 kB / 0.7333 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.006993, allocations: 110 kB / 0.7334 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.007203, allocations: 151.7 kB / 0.7336 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.007228, allocations: 16.36 kB / 0.7336 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.007261, allocations: 16.38 kB / 0.7336 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.007435, allocations: 114.9 kB / 0.7337 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.007446, allocations: 4.844 kB / 0.7337 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.007462, allocations: 12.06 kB / 0.7337 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.00747, allocations: 4.688 kB / 0.7337 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.007536, allocations: 25.7 kB / 0.7338 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.008073, allocations: 295.8 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.008298, allocations: 71.3 kB / 0.7341 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.008341, allocations: 21.33 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.008365, allocations: 4 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.0085, allocations: 76.62 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.008501, allocations: 0 / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000203/0.008704, allocations: 85.72 kB / 0.7343 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.008749, allocations: 56.28 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.00887, allocations: 158.2 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.008903, allocations: 34.3 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.008979, allocations: 120.4 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.009009, allocations: 32.45 kB / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.009083, allocations: 41.67 kB / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.009191, allocations: 328.5 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.009269, allocations: 53.69 kB / 0.7351 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.009368, allocations: 114 kB / 0.7352 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.009489, allocations: 103 kB / 0.7353 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009492, allocations: 1 kB / 0.7353 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002145/0.009706, allocations: 177 kB / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.009751, allocations: 34.17 kB / 0.7355 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.009759, allocations: 5.125 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.009774, allocations: 0 / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.009862, allocations: 19.92 kB / 0.7355 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.009868, allocations: 8.703 kB / 0.7355 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.009994, allocations: 36.89 kB / 0.7356 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.01001, allocations: 4 kB / 0.7356 GB, free: 14.19 MB / 0.7136 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 8.746e-05/0.0101, allocations: 118.4 kB / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.01012, allocations: 13.69 kB / 0.7357 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.01016, allocations: 20.77 kB / 0.7357 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01016, allocations: 0 / 0.7357 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01016, allocations: 0 / 0.7357 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01017, allocations: 0 / 0.7357 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.01029, allocations: 111 kB / 0.7358 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01029, allocations: 4 kB / 0.7358 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.01035, allocations: 19.92 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.01037, allocations: 13.41 kB / 0.7358 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01037, allocations: 0 / 0.7358 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.01038, allocations: 3.938 kB / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01038, allocations: 0 / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01038, allocations: 0.5625 kB / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.01051, allocations: 93.84 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.01053, allocations: 4 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.01058, allocations: 12.58 kB / 0.736 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.01063, allocations: 19.91 kB / 0.736 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01063, allocations: 4.734 kB / 0.736 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.01068, allocations: 36.77 kB / 0.736 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.01068, allocations: 0.9375 kB / 0.736 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002228/0.0109, allocations: 35.94 kB / 0.7361 GB, free: 13.64 MB / 0.7136 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.000139/0.01104, allocations: 92.47 kB / 0.7361 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.01126, allocations: 163.1 kB / 0.7363 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.01127, allocations: 1.156 kB / 0.7363 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.01134, allocations: 45.05 kB / 0.7363 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.01159, allocations: 204.4 kB / 0.7365 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.01269, allocations: 277.7 kB / 0.7368 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.01274, allocations: 67.34 kB / 0.7369 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.0128, allocations: 11.72 kB / 0.7369 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.01293, allocations: 79.34 kB / 0.737 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of SimCode: time 1.123e-06/0.01293, allocations: 0 / 0.737 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of Templates: time 0.005615/0.01855, allocations: 2.399 MB / 0.7393 GB, free: 10.36 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.033258977346122]