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.001802/0.001802, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002267/0.002267, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.293/3.293, allocations: 0.505 GB / 0.8108 GB, free: 22.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 66.38 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.378, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002024/0.38, allocations: 0.7427 MB / 1.355 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.382, allocations: 1.295 MB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.382, allocations: 0 / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.3821, allocations: 3.938 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.65e-05/0.3822, allocations: 27.78 kB / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.3829, allocations: 251 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.3832, allocations: 251.6 kB / 1.357 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3833, allocations: 16.2 kB / 1.357 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3834, allocations: 99.81 kB / 1.357 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.3836, allocations: 103.7 kB / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.3837, allocations: 24 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.3838, allocations: 31.98 kB / 1.357 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.3838, allocations: 31.92 kB / 1.357 GB, free: 5.117 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3839, allocations: 91.73 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.3842, allocations: 231.2 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3842, allocations: 4 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3843, allocations: 0 / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3843, allocations: 0 / 1.357 GB, free: 4.797 MB / 1.045 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.0007758/0.385, allocations: 433.2 kB / 1.358 GB, free: 4.328 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.3851, allocations: 8.031 kB / 1.358 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.3851, allocations: 16.89 kB / 1.358 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.3857, allocations: 186.6 kB / 1.358 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.3857, allocations: 12.38 kB / 1.358 GB, free: 4.086 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.3858, allocations: 24.36 kB / 1.358 GB, free: 4.062 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.386, allocations: 127.8 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.386, allocations: 3.938 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.3861, allocations: 11.98 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3861, allocations: 0 / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.3862, allocations: 63.95 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.3871, allocations: 495.7 kB / 1.359 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.3873, allocations: 145.2 kB / 1.359 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/0.3874, allocations: 49.69 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3875, allocations: 0 / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/0.3879, allocations: 208.8 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.3879, allocations: 0 / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0005952/0.3885, allocations: 313 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.3885, allocations: 89.03 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3887, allocations: 130.1 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3887, allocations: 33.7 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.3888, allocations: 105.1 kB / 1.36 GB, free: 2.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.3888, allocations: 55.56 kB / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.389, allocations: 73.67 kB / 1.36 GB, free: 2.047 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3891, allocations: 326.8 kB / 1.36 GB, free: 1.719 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3893, allocations: 84.17 kB / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3896, allocations: 160.2 kB / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.3899, allocations: 243 kB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3899, allocations: 0 / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006082/0.3905, allocations: 366.7 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.3906, allocations: 67.39 kB / 1.361 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3906, allocations: 4 kB / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3906, allocations: 0 / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.3907, allocations: 24.14 kB / 1.361 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3907, allocations: 11.88 kB / 1.361 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.391, allocations: 63.83 kB / 1.361 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.3911, allocations: 23.98 kB / 1.361 GB, free: 0.5938 MB / 1.045 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.0001531/0.3912, allocations: 144.4 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3913, allocations: 23.91 kB / 1.361 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.3913, allocations: 12.42 kB / 1.361 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.3913, allocations: 4 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3913, allocations: 3.938 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3913, allocations: 3.984 kB / 1.361 GB, free: 404 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.392, allocations: 0.5788 MB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.392, allocations: 0 / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.3921, allocations: 16.03 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.3921, allocations: 19.86 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.3921, allocations: 4 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3921, allocations: 0 / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3921, allocations: 3.938 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.3926, allocations: 423.3 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.3926, allocations: 7.953 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.3926, allocations: 15.92 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3928, allocations: 15.92 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.3929, allocations: 23.95 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.3929, allocations: 15.98 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.2e-05/0.3929, allocations: 96.64 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3929, allocations: 0 / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000359/0.3933, allocations: 59.94 kB / 1.362 GB, free: 15.06 MB / 1.061 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.0002005/0.3935, allocations: 107.2 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005257/0.394, allocations: 324.8 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.394, allocations: 0 / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3942, allocations: 87.88 kB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3946, allocations: 34.02 kB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.3952, allocations: 302.5 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.3956, allocations: 0.7047 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.3956, allocations: 19.42 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3956, allocations: 0 / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of Templates: time 0.004668/0.4003, allocations: 2.277 MB / 1.366 GB, free: 11.15 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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 Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time [Calling sys.exit(0), Time elapsed: 11.601905143004842]