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.001386/0.001386, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001566/0.001566, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 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.9744/0.9744, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.791/1.791, allocations: 359 MB / 0.6052 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 2.114e-06/2.114e-06, allocations: 448 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.247e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001489/0.001511, allocations: 0.7438 MB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.002901, allocations: 1.308 MB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.002946, allocations: 0.625 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.002976, allocations: 8.969 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.235e-05/0.003049, allocations: 23.78 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.003544, allocations: 241.6 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.003776, allocations: 255.5 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.003884, allocations: 14.2 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.004019, allocations: 143.8 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.004143, allocations: 71.86 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.004178, allocations: 24 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.004245, allocations: 39.92 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.004279, allocations: 37.45 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.004354, allocations: 75.86 kB / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.00455, allocations: 187.5 kB / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004552, allocations: 0 / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004553, allocations: 0 / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004557, allocations: 0.9688 kB / 0.7902 GB, free: 9.312 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.0005487/0.005106, allocations: 0.5241 MB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.005145, allocations: 8.031 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.528e-05/0.00522, allocations: 28.88 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.005558, allocations: 190 kB / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.005585, allocations: 10.12 kB / 0.7909 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.005617, allocations: 24.36 kB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.005787, allocations: 140.2 kB / 0.7911 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.005796, allocations: 192 / 0.7911 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.00581, allocations: 8.359 kB / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.005817, allocations: 9.156 kB / 0.7911 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.42e-05/0.005892, allocations: 51.89 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.00638, allocations: 0.5159 MB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.006573, allocations: 144.8 kB / 0.7918 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.006629, allocations: 55.28 kB / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.006637, allocations: 160 / 0.7918 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.00685, allocations: 211 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.006851, allocations: 0 / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0003616/0.007212, allocations: 293.9 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.00725, allocations: 82.77 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.007336, allocations: 193 kB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.007364, allocations: 41.7 kB / 0.7926 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.007421, allocations: 139.4 kB / 0.7928 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.007456, allocations: 55.64 kB / 0.7928 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.134e-05/0.007548, allocations: 79.98 kB / 0.7929 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.007662, allocations: 0.497 MB / 0.7934 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.007795, allocations: 135.6 kB / 0.7935 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.007954, allocations: 225 kB / 0.7937 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.008149, allocations: 251.4 kB / 0.794 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.008152, allocations: 4 kB / 0.794 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00037/0.008522, allocations: 410.5 kB / 0.7944 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.008557, allocations: 63.39 kB / 0.7944 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.008563, allocations: 4 kB / 0.7944 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.008577, allocations: 5.375 kB / 0.7944 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.008645, allocations: 19.94 kB / 0.7944 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.008652, allocations: 4 kB / 0.7944 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.008797, allocations: 66.7 kB / 0.7945 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.008818, allocations: 15.98 kB / 0.7945 GB, free: 4.477 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 9.587e-05/0.008914, allocations: 198.4 kB / 0.7947 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.008939, allocations: 23.94 kB / 0.7947 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.008969, allocations: 12.94 kB / 0.7947 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.008972, allocations: 5.125 kB / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.008976, allocations: 0 / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.00898, allocations: 0 / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.009444, allocations: 0.6386 MB / 0.7954 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.009449, allocations: 0 / 0.7954 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.009473, allocations: 8 kB / 0.7954 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.009475, allocations: 0 / 0.7954 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.009488, allocations: 12.48 kB / 0.7954 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.009489, allocations: 1.344 kB / 0.7954 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00949, allocations: 0 / 0.7954 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.009777, allocations: 0.5105 MB / 0.7959 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.009786, allocations: 11.91 kB / 0.7959 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.00981, allocations: 13.08 kB / 0.7959 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.00988, allocations: 7.984 kB / 0.7959 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.009934, allocations: 24.61 kB / 0.796 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.009948, allocations: 15.98 kB / 0.796 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.009993, allocations: 139.8 kB / 0.7961 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009993, allocations: 0 / 0.7961 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002296/0.01022, allocations: 58.69 kB / 0.7962 GB, free: 2.75 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.0001156/0.01034, allocations: 123.2 kB / 0.7963 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.01067, allocations: 365.6 kB / 0.7966 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01068, allocations: 2.125 kB / 0.7966 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.01076, allocations: 83.58 kB / 0.7967 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.01101, allocations: 32.61 kB / 0.7967 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.01136, allocations: 274.8 kB / 0.797 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.92e-05/0.01141, allocations: 71.98 kB / 0.7971 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.01145, allocations: 20.3 kB / 0.7971 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.01149, allocations: 20.5 kB / 0.7971 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of SimCode: time 6.42e-07/0.01149, allocations: 3.938 kB / 0.7971 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of Templates: time 0.004218/0.0157, allocations: 2.898 MB / 0.7999 GB, free: 14.84 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.0987280192784965]