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.001375/0.001375, allocations: 91.58 kB / 20.45 MB, free: 4.113 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.001884/0.001884, 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.9659/0.9659, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.857/1.857, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 177] 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.916e-06/2.916e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.832e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002445/0.002483, allocations: 0.7371 MB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.004692, allocations: 1.315 MB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.004775, allocations: 0.8438 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.004826, allocations: 7.875 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.004967, allocations: 28.34 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.005762, allocations: 238.2 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.006088, allocations: 251.5 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.006256, allocations: 16.22 kB / 0.7896 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.006459, allocations: 145 kB / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.006637, allocations: 80.42 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.006676, allocations: 20 kB / 0.7899 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.459e-05/0.006761, allocations: 29.41 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.006804, allocations: 35.88 kB / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.006895, allocations: 63.88 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.007182, allocations: 175.5 kB / 0.7902 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.007185, allocations: 4.688 kB / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.723e-06/0.007187, allocations: 0 / 0.7902 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.007193, allocations: 0.9062 kB / 0.7902 GB, free: 9.328 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.0006914/0.007884, allocations: 0.5042 MB / 0.7907 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.007933, allocations: 13 kB / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/0.008019, allocations: 32.83 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.008244, allocations: 156.5 kB / 0.7909 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.008272, allocations: 15.64 kB / 0.7909 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.008304, allocations: 20.38 kB / 0.7909 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.008519, allocations: 142.2 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.008527, allocations: 192 / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.008545, allocations: 4.359 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.008555, allocations: 4.375 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.008633, allocations: 51.83 kB / 0.7911 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.009238, allocations: 0.5164 MB / 0.7916 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.009442, allocations: 138.2 kB / 0.7917 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.0095, allocations: 51.5 kB / 0.7918 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.009509, allocations: 5.281 kB / 0.7918 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.009746, allocations: 217.7 kB / 0.792 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.263e-06/0.009747, allocations: 0 / 0.792 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.000422/0.01017, allocations: 291.8 kB / 0.7923 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.01022, allocations: 90.72 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.01032, allocations: 189.8 kB / 0.7925 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.01035, allocations: 41.7 kB / 0.7926 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.01042, allocations: 135.4 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.01047, allocations: 60.55 kB / 0.7928 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.01055, allocations: 75.33 kB / 0.7928 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.01069, allocations: 0.5 MB / 0.7933 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.01084, allocations: 136.2 kB / 0.7934 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.011, allocations: 225.6 kB / 0.7937 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.01121, allocations: 248.4 kB / 0.7939 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01122, allocations: 1.375 kB / 0.7939 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003943/0.01161, allocations: 409.2 kB / 0.7943 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.01166, allocations: 67.39 kB / 0.7944 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.01166, allocations: 0.9375 kB / 0.7944 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01168, allocations: 4 kB / 0.7944 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.01176, allocations: 25.48 kB / 0.7944 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.01177, allocations: 4 kB / 0.7944 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01193, allocations: 60.61 kB / 0.7944 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.01196, allocations: 19.98 kB / 0.7945 GB, free: 4.535 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.0001172/0.01208, allocations: 184.7 kB / 0.7946 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.01211, allocations: 31.94 kB / 0.7947 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.01214, allocations: 12.44 kB / 0.7947 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01214, allocations: 4.969 kB / 0.7947 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.01215, allocations: 3.938 kB / 0.7947 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.01216, allocations: 3.984 kB / 0.7947 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.01258, allocations: 0.6359 MB / 0.7953 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.01259, allocations: 0 / 0.7953 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.01262, allocations: 4 kB / 0.7953 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01263, allocations: 4 kB / 0.7953 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.01264, allocations: 11.98 kB / 0.7953 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01264, allocations: 0 / 0.7953 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01265, allocations: 3.438 kB / 0.7953 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.01299, allocations: 0.5122 MB / 0.7958 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.013, allocations: 11.91 kB / 0.7959 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.01303, allocations: 8 kB / 0.7959 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.0131, allocations: 7.984 kB / 0.7959 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.01316, allocations: 27.94 kB / 0.7959 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01318, allocations: 12 kB / 0.7959 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.01323, allocations: 142.2 kB / 0.796 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01323, allocations: 0 / 0.796 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002495/0.01348, allocations: 60.61 kB / 0.7961 GB, free: 2.809 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.0001449/0.01362, allocations: 124.2 kB / 0.7962 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004054/0.01403, allocations: 363.6 kB / 0.7966 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.01403, allocations: 0 / 0.7966 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01414, allocations: 87.56 kB / 0.7966 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.01442, allocations: 33.81 kB / 0.7967 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.01488, allocations: 278.4 kB / 0.7969 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.01494, allocations: 70.12 kB / 0.797 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.873e-05/0.01499, allocations: 16.61 kB / 0.797 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.01503, allocations: 24.48 kB / 0.797 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of SimCode: time 1.213e-06/0.01503, allocations: 0 / 0.797 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of Templates: time 0.005098/0.02013, allocations: 3.086 MB / 0.8001 GB, free: 14.73 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.222060564905405]