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.0009453/0.0009453, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.000915/0.000915, allocations: 185 kB / 24.09 MB, free: 416 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.9006/0.9006, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.763/1.763, allocations: 359 MB / 0.6055 GB, free: 10.84 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 2.545e-06/2.545e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.918e-05, allocations: 4.719 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002348/0.002377, allocations: 0.7337 MB / 0.7883 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.004291, allocations: 1.308 MB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.004365, allocations: 1.875 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.038e-05/0.004405, allocations: 11.86 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.004509, allocations: 19.8 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.005271, allocations: 244.9 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.005597, allocations: 252.8 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.005701, allocations: 16.22 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.005949, allocations: 151.7 kB / 0.7902 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.006129, allocations: 77.22 kB / 0.7903 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.006174, allocations: 21.06 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.539e-05/0.00626, allocations: 31.92 kB / 0.7904 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.006302, allocations: 31.89 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.006391, allocations: 69.38 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.00664, allocations: 163.6 kB / 0.7906 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006642, allocations: 0 / 0.7906 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.006643, allocations: 4 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.006647, allocations: 1.594 kB / 0.7906 GB, free: 9.047 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.0006519/0.007299, allocations: 0.5152 MB / 0.7911 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.007342, allocations: 12.03 kB / 0.7911 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.007415, allocations: 26.59 kB / 0.7912 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.007625, allocations: 164.4 kB / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.007652, allocations: 12.38 kB / 0.7913 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.007692, allocations: 20.36 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.007884, allocations: 132.8 kB / 0.7915 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.007892, allocations: 192 / 0.7915 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.007905, allocations: 384 / 0.7915 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.007913, allocations: 4.375 kB / 0.7915 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.007989, allocations: 39.83 kB / 0.7915 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.008631, allocations: 0.4997 MB / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.008836, allocations: 135.8 kB / 0.7921 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.008892, allocations: 39.36 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.008901, allocations: 1.312 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.009166, allocations: 209.4 kB / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.009167, allocations: 0 / 0.7924 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0004405/0.009608, allocations: 258.8 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.009657, allocations: 93.05 kB / 0.7927 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.009767, allocations: 187.5 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.009809, allocations: 41.7 kB / 0.7929 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.009882, allocations: 149.1 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.009933, allocations: 55.56 kB / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.01006, allocations: 79.31 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.01021, allocations: 0.4962 MB / 0.7937 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.01035, allocations: 112.2 kB / 0.7938 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.01054, allocations: 209.6 kB / 0.794 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.01078, allocations: 258.2 kB / 0.7942 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01079, allocations: 0 / 0.7942 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000489/0.01128, allocations: 374.3 kB / 0.7946 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.016e-05/0.01134, allocations: 71.39 kB / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01134, allocations: 4.531 kB / 0.7947 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01136, allocations: 4.719 kB / 0.7947 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.01144, allocations: 23.92 kB / 0.7947 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01145, allocations: 4.531 kB / 0.7947 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.01169, allocations: 61.36 kB / 0.7948 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.01173, allocations: 15.98 kB / 0.7948 GB, free: 4.406 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.0001294/0.01186, allocations: 191.8 kB / 0.795 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.0119, allocations: 27.94 kB / 0.795 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.01194, allocations: 13.28 kB / 0.795 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01194, allocations: 4 kB / 0.795 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01195, allocations: 1.312 kB / 0.795 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.01195, allocations: 7.984 kB / 0.795 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.01247, allocations: 0.5868 MB / 0.7956 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01247, allocations: 4.5 kB / 0.7956 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.01251, allocations: 8.656 kB / 0.7956 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.01251, allocations: 4 kB / 0.7956 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.01253, allocations: 9.703 kB / 0.7956 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.01254, allocations: 4 kB / 0.7956 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01254, allocations: 3.938 kB / 0.7956 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.01294, allocations: 496.5 kB / 0.7961 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.01295, allocations: 11.91 kB / 0.7961 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.01299, allocations: 12.86 kB / 0.7961 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.01313, allocations: 19.45 kB / 0.7961 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.0132, allocations: 23.89 kB / 0.7962 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.01322, allocations: 11.98 kB / 0.7962 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.029e-05/0.01327, allocations: 141 kB / 0.7963 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01327, allocations: 0 / 0.7963 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002337/0.0135, allocations: 55.94 kB / 0.7964 GB, free: 2.742 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.0001344/0.01363, allocations: 119.3 kB / 0.7965 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.01392, allocations: 350.6 kB / 0.7968 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01392, allocations: 0.5 kB / 0.7968 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.01399, allocations: 83 kB / 0.7969 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.01425, allocations: 24.78 kB / 0.7969 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.01456, allocations: 261.9 kB / 0.7972 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.0146, allocations: 69.34 kB / 0.7972 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.716e-05/0.01464, allocations: 21.67 kB / 0.7972 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.01476, allocations: 118.2 kB / 0.7974 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/0.01477, allocations: 0 / 0.7974 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of Templates: time 0.004398/0.01916, allocations: 3.106 MB / 0.8004 GB, free: 14.59 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: 4.824482756666839]