Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007712/0.0007712, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001931, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006846/0.0006846, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008456/0.00153, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9995/0.9995, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09353/1.093, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.429/2.429, allocations: 446.7 MB / 0.6745 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3077/2.736, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.731e-05, allocations: 4.703 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001472/0.001509, allocations: 0.7815 MB / 0.8191 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.002772, allocations: 1.306 MB / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.002831, allocations: 0 / 0.8203 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.002858, allocations: 7.875 kB / 0.8204 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.00291, allocations: 19.8 kB / 0.8204 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.003386, allocations: 243.4 kB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.003644, allocations: 255.5 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.00373, allocations: 12.22 kB / 0.8209 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.003892, allocations: 159.7 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.004022, allocations: 79.81 kB / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.004051, allocations: 16 kB / 0.8211 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.935e-05/0.00415, allocations: 36.03 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.004179, allocations: 23.88 kB / 0.8212 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.004244, allocations: 47.94 kB / 0.8212 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.004415, allocations: 127.6 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.004429, allocations: 0 / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.233e-06/0.00443, allocations: 0 / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.004443, allocations: 0 / 0.8213 GB, free: 15.8 MB / 0.8073 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.0005777/0.00502, allocations: 431.5 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.005053, allocations: 8.625 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.005116, allocations: 36.89 kB / 0.8218 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.00529, allocations: 144.4 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.005313, allocations: 16.36 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.005337, allocations: 20.36 kB / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.005475, allocations: 124.6 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.005481, allocations: 192 / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.005492, allocations: 4.375 kB / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.005496, allocations: 384 / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/0.005547, allocations: 47.83 kB / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.005945, allocations: 328.3 kB / 0.8224 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.006087, allocations: 101.2 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.006123, allocations: 37.84 kB / 0.8226 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.006132, allocations: 4 kB / 0.8226 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.006333, allocations: 199 kB / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.006334, allocations: 0 / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0002231/0.006557, allocations: 181.5 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.006599, allocations: 93.03 kB / 0.823 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.006666, allocations: 137.7 kB / 0.8232 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.006696, allocations: 41.7 kB / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.006734, allocations: 84.64 kB / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.00677, allocations: 55.56 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.006843, allocations: 77.64 kB / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.006927, allocations: 326.8 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.99e-05/0.007017, allocations: 111.6 kB / 0.8238 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.007127, allocations: 187.6 kB / 0.824 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.007278, allocations: 214.9 kB / 0.8242 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.007281, allocations: 3.938 kB / 0.8242 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002455/0.007527, allocations: 328.1 kB / 0.8245 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.007577, allocations: 71.39 kB / 0.8246 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.007584, allocations: 3.984 kB / 0.8246 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.007594, allocations: 4 kB / 0.8246 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.007662, allocations: 23.94 kB / 0.8246 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.007666, allocations: 4.219 kB / 0.8246 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.007819, allocations: 59.84 kB / 0.8247 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.00784, allocations: 15.98 kB / 0.8247 GB, free: 12.01 MB / 0.8073 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.000101/0.007941, allocations: 143.7 kB / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.00797, allocations: 27.97 kB / 0.8249 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.008011, allocations: 16.44 kB / 0.8249 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.008013, allocations: 0 / 0.8249 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008017, allocations: 8 kB / 0.8249 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.008021, allocations: 0 / 0.8249 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.008309, allocations: 393.6 kB / 0.8253 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.008311, allocations: 0 / 0.8253 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.008345, allocations: 19.91 kB / 0.8253 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.008356, allocations: 11.91 kB / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.008359, allocations: 0 / 0.8253 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.008372, allocations: 11.98 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.008374, allocations: 0 / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.008376, allocations: 4 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.00854, allocations: 322.7 kB / 0.8256 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.008561, allocations: 7.938 kB / 0.8256 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.008636, allocations: 11.98 kB / 0.8256 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.00868, allocations: 23.95 kB / 0.8257 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.008691, allocations: 15.98 kB / 0.8257 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.929e-05/0.008711, allocations: 20.84 kB / 0.8257 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008711, allocations: 0 / 0.8257 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002019/0.008913, allocations: 63.92 kB / 0.8258 GB, free: 10.88 MB / 0.8073 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.0001342/0.009047, allocations: 104.1 kB / 0.8258 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.009297, allocations: 339.4 kB / 0.8262 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.009302, allocations: 0 / 0.8262 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/0.009366, allocations: 72.75 kB / 0.8262 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.009577, allocations: 47.91 kB / 0.8263 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.01008, allocations: 254 kB / 0.8265 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01013, allocations: 79.84 kB / 0.8266 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.01017, allocations: 17.48 kB / 0.8266 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.01028, allocations: 91.33 kB / 0.8267 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of SimCode: time 8.61e-07/0.01029, allocations: 0 / 0.8267 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of Templates: time 0.004402/0.01469, allocations: 3.118 MB / 0.8298 GB, free: 6.738 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.ref.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.278946649283171]