Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009659/0.0009659, 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.0009323/0.0009323, allocations: 165.3 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 1.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.207 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.986/1.986, allocations: 377.9 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.386e-05/3.699e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002217/0.002254, allocations: 0.7395 MB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.004132, allocations: 1.309 MB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.004204, allocations: 4 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.004251, allocations: 8.438 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.004355, allocations: 24.47 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.005109, allocations: 240.9 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.005438, allocations: 257.1 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.005568, allocations: 16.2 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.005785, allocations: 139.8 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.005956, allocations: 79.78 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.006006, allocations: 25.53 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.006102, allocations: 35.94 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.006147, allocations: 35.89 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.006263, allocations: 79.84 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.00656, allocations: 184.9 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.006564, allocations: 4 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.273e-06/0.006565, allocations: 0 / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.006571, allocations: 0 / 0.8146 GB, free: 14.55 MB / 0.7761 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.0007468/0.007318, allocations: 0.5199 MB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.007364, allocations: 9.031 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.007469, allocations: 32.88 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.007968, allocations: 190.1 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.008006, allocations: 16.38 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.008053, allocations: 20.95 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.008314, allocations: 143.6 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.008331, allocations: 4.125 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.008352, allocations: 8.375 kB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.008365, allocations: 4.125 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.008476, allocations: 49.64 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.009232, allocations: 0.5154 MB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.009512, allocations: 138.1 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.009597, allocations: 51.89 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.009609, allocations: 7.938 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.009939, allocations: 202.7 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.009941, allocations: 0 / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0005725/0.01051, allocations: 291.5 kB / 0.8168 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.01057, allocations: 89.09 kB / 0.8169 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.0107, allocations: 195.2 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.01075, allocations: 37.69 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.01083, allocations: 143.4 kB / 0.8172 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.01088, allocations: 51.8 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.01101, allocations: 79.86 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.01117, allocations: 0.4968 MB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.01137, allocations: 135.6 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.01161, allocations: 222.7 kB / 0.8182 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.01193, allocations: 253.8 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.01193, allocations: 0.8125 kB / 0.8184 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006128/0.01254, allocations: 410.2 kB / 0.8188 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.0126, allocations: 74.05 kB / 0.8189 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01261, allocations: 3.938 kB / 0.8189 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.01264, allocations: 4.969 kB / 0.8189 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01274, allocations: 19.98 kB / 0.8189 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.01275, allocations: 10.25 kB / 0.8189 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.01301, allocations: 55.84 kB / 0.819 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.01304, allocations: 19.94 kB / 0.819 GB, free: 9.715 MB / 0.7761 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.0001377/0.01318, allocations: 193.8 kB / 0.8192 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.01323, allocations: 31.94 kB / 0.8192 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.01327, allocations: 12.44 kB / 0.8192 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01328, allocations: 4 kB / 0.8192 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.01329, allocations: 0 / 0.8192 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01329, allocations: 3.984 kB / 0.8192 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.01391, allocations: 0.6215 MB / 0.8198 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01392, allocations: 4.906 kB / 0.8198 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.01396, allocations: 4 kB / 0.8198 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.01397, allocations: 4 kB / 0.8198 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.01399, allocations: 12.48 kB / 0.8198 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01399, allocations: 5.016 kB / 0.8198 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.01399, allocations: 3.984 kB / 0.8199 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.0145, allocations: 0.5044 MB / 0.8203 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.01453, allocations: 20.48 kB / 0.8204 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.01457, allocations: 9.625 kB / 0.8204 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.01471, allocations: 7.984 kB / 0.8204 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.01479, allocations: 23.95 kB / 0.8204 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.01481, allocations: 15.98 kB / 0.8204 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.01488, allocations: 139.2 kB / 0.8206 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01488, allocations: 4 kB / 0.8206 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004469/0.01533, allocations: 63.86 kB / 0.8206 GB, free: 7.977 MB / 0.7761 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.0002083/0.01554, allocations: 116.3 kB / 0.8207 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.01604, allocations: 367.1 kB / 0.8211 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01605, allocations: 1.062 kB / 0.8211 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.01619, allocations: 89.62 kB / 0.8212 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.01666, allocations: 30.59 kB / 0.8212 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.01724, allocations: 281.9 kB / 0.8215 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/0.01731, allocations: 72.98 kB / 0.8215 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.75e-05/0.01737, allocations: 18.05 kB / 0.8215 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.01743, allocations: 24.5 kB / 0.8216 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.01743, allocations: 0 / 0.8216 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.005718/0.02315, allocations: 2.904 MB / 0.8244 GB, free: 4.082 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.5046381410211325]