Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001058/0.001058, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001063/0.001063, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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 0.9671/0.9671, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.743/1.743, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.897e-06/3.897e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.832e-05, allocations: 9.531 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001597/0.001635, allocations: 0.7422 MB / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.003085, allocations: 1.307 MB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.003163, allocations: 4.469 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.003199, allocations: 6.25 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.322e-05/0.003292, allocations: 19.8 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006787/0.003971, allocations: 240.4 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.004267, allocations: 251.5 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.00438, allocations: 17.08 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.004552, allocations: 143.8 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.004689, allocations: 76.64 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.004727, allocations: 24 kB / 0.7899 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.711e-05/0.004804, allocations: 39.92 kB / 0.7899 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.00484, allocations: 30.38 kB / 0.7899 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.004936, allocations: 83.84 kB / 0.79 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.005172, allocations: 183.5 kB / 0.7902 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.005176, allocations: 4 kB / 0.7902 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/0.005177, allocations: 0 / 0.7902 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.005183, allocations: 0 / 0.7902 GB, free: 9.625 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000607/0.00579, allocations: 0.5247 MB / 0.7907 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.005839, allocations: 8.031 kB / 0.7907 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/0.005928, allocations: 32.88 kB / 0.7907 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.006326, allocations: 186.5 kB / 0.7909 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.006354, allocations: 12.36 kB / 0.7909 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.006388, allocations: 20.38 kB / 0.791 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.006587, allocations: 143.9 kB / 0.7911 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.006594, allocations: 192 / 0.7911 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.006611, allocations: 8.359 kB / 0.7911 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.006621, allocations: 4.125 kB / 0.7911 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.006705, allocations: 55.83 kB / 0.7912 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006424/0.007348, allocations: 0.5094 MB / 0.7917 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.007562, allocations: 146.1 kB / 0.7918 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.007624, allocations: 43.52 kB / 0.7918 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.007636, allocations: 7.984 kB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.007902, allocations: 210.7 kB / 0.792 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.007903, allocations: 0 / 0.792 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0004291/0.008332, allocations: 296.2 kB / 0.7923 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.008385, allocations: 93.05 kB / 0.7924 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.008494, allocations: 190.5 kB / 0.7926 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.008527, allocations: 37.7 kB / 0.7926 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.008599, allocations: 143.9 kB / 0.7928 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.008644, allocations: 57.3 kB / 0.7928 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.008731, allocations: 75.34 kB / 0.7929 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.008892, allocations: 0.5 MB / 0.7934 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.009044, allocations: 131.6 kB / 0.7935 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.009213, allocations: 221.7 kB / 0.7937 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.00943, allocations: 249.5 kB / 0.794 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.009433, allocations: 0 / 0.794 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004377/0.009871, allocations: 408.9 kB / 0.7943 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.00992, allocations: 68.23 kB / 0.7944 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.009927, allocations: 0 / 0.7944 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.009945, allocations: 5.281 kB / 0.7944 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.01003, allocations: 27.92 kB / 0.7944 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.01004, allocations: 4 kB / 0.7944 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.01021, allocations: 61.86 kB / 0.7945 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.01024, allocations: 15.98 kB / 0.7945 GB, free: 4.793 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001332/0.01037, allocations: 191.7 kB / 0.7947 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.0104, allocations: 27.94 kB / 0.7947 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.01044, allocations: 16.42 kB / 0.7947 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.01044, allocations: 5.656 kB / 0.7948 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01045, allocations: 0 / 0.7948 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.01045, allocations: 3.938 kB / 0.7948 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.0109, allocations: 0.6363 MB / 0.7954 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01091, allocations: 2.688 kB / 0.7954 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.01094, allocations: 7.984 kB / 0.7954 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.01095, allocations: 4 kB / 0.7954 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01096, allocations: 8 kB / 0.7954 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.01097, allocations: 7.984 kB / 0.7954 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01097, allocations: 4.016 kB / 0.7954 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.01132, allocations: 0.5005 MB / 0.7959 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.01133, allocations: 16.41 kB / 0.7959 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.01136, allocations: 8.516 kB / 0.7959 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.01144, allocations: 13.27 kB / 0.7959 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.01152, allocations: 23.95 kB / 0.796 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.01154, allocations: 15.98 kB / 0.796 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.339e-05/0.01159, allocations: 132.3 kB / 0.7961 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01159, allocations: 4 kB / 0.7961 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002852/0.01187, allocations: 59.86 kB / 0.7962 GB, free: 3.059 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001984/0.01207, allocations: 120.5 kB / 0.7963 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.01248, allocations: 364.6 kB / 0.7966 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.01248, allocations: 0 / 0.7966 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.01259, allocations: 91.5 kB / 0.7967 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.01288, allocations: 32.62 kB / 0.7967 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.01335, allocations: 275.8 kB / 0.797 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.232e-05/0.01341, allocations: 68 kB / 0.7971 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.008e-05/0.01346, allocations: 15.55 kB / 0.7971 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.0135, allocations: 24.48 kB / 0.7971 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.0135, allocations: 1.125 kB / 0.7971 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.005685/0.01918, allocations: 2.895 MB / 0.7999 GB, free: 15.16 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.376189701026306]