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.001884/0.001884, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001628/0.001628, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.861/2.861, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] 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.875e-06/2.875e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.317e-05/3.605e-05, allocations: 8.25 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002402/0.002438, allocations: 0.7114 MB / 0.9517 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.004806, allocations: 1.284 MB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.004893, allocations: 0 / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.004938, allocations: 3.938 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.005045, allocations: 23.78 kB / 0.953 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.005954, allocations: 250.3 kB / 0.9532 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.006403, allocations: 259.5 kB / 0.9535 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.006531, allocations: 16.22 kB / 0.9535 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.006844, allocations: 139.8 kB / 0.9536 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.007054, allocations: 79.78 kB / 0.9537 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.007115, allocations: 24 kB / 0.9537 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.007225, allocations: 36 kB / 0.9537 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.00728, allocations: 31.89 kB / 0.9538 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.007432, allocations: 79.84 kB / 0.9538 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.007905, allocations: 267.3 kB / 0.9541 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.007909, allocations: 0 / 0.9541 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.82e-07/0.00791, allocations: 4 kB / 0.9541 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.007926, allocations: 0 / 0.9541 GB, free: 8.387 MB / 0.8575 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.00107/0.008997, allocations: 425.3 kB / 0.9545 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.009051, allocations: 8.031 kB / 0.9545 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.009169, allocations: 16.89 kB / 0.9545 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.009923, allocations: 201.7 kB / 0.9547 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.009953, allocations: 12.38 kB / 0.9547 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.01001, allocations: 28.36 kB / 0.9548 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.0103, allocations: 123.9 kB / 0.9549 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.01031, allocations: 192 / 0.9549 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.01034, allocations: 8.359 kB / 0.9549 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.01035, allocations: 4.125 kB / 0.9549 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.01049, allocations: 63.89 kB / 0.9549 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008677/0.01136, allocations: 424.5 kB / 0.9554 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.01167, allocations: 141.1 kB / 0.9555 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.01177, allocations: 53.69 kB / 0.9555 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.01179, allocations: 4 kB / 0.9555 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.01222, allocations: 216.7 kB / 0.9558 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.01222, allocations: 4 kB / 0.9558 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0006847/0.01291, allocations: 313.4 kB / 0.9561 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/0.01301, allocations: 89.05 kB / 0.9561 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.01315, allocations: 128.4 kB / 0.9563 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.01322, allocations: 41.7 kB / 0.9563 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.01333, allocations: 96.73 kB / 0.9564 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.0134, allocations: 51.62 kB / 0.9564 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.01355, allocations: 73.67 kB / 0.9565 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.01378, allocations: 330.8 kB / 0.9568 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.01404, allocations: 147.6 kB / 0.957 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.01439, allocations: 215.6 kB / 0.9572 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.01478, allocations: 243 kB / 0.9574 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.01479, allocations: 0 / 0.9574 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007652/0.01555, allocations: 431.2 kB / 0.9578 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/0.01562, allocations: 63.44 kB / 0.9579 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01562, allocations: 4 kB / 0.9579 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.01565, allocations: 4 kB / 0.9579 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.01575, allocations: 31.86 kB / 0.9579 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.01577, allocations: 4 kB / 0.9579 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.01621, allocations: 67.81 kB / 0.958 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.01627, allocations: 12 kB / 0.958 GB, free: 4.043 MB / 0.8575 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.0001702/0.01644, allocations: 151.7 kB / 0.9581 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.01647, allocations: 15.91 kB / 0.9582 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.01653, allocations: 20.42 kB / 0.9582 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01653, allocations: 0 / 0.9582 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.01654, allocations: 4 kB / 0.9582 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01654, allocations: 3.938 kB / 0.9582 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007165/0.01726, allocations: 0.548 MB / 0.9587 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01726, allocations: 0 / 0.9587 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.01731, allocations: 15.98 kB / 0.9587 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01732, allocations: 0 / 0.9587 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.01734, allocations: 11.98 kB / 0.9587 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.01735, allocations: 4 kB / 0.9587 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.01735, allocations: 3.984 kB / 0.9588 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.01789, allocations: 436.6 kB / 0.9592 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.01791, allocations: 7.953 kB / 0.9592 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.01795, allocations: 11.98 kB / 0.9592 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.01809, allocations: 7.984 kB / 0.9592 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.01818, allocations: 23.95 kB / 0.9592 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.0182, allocations: 23.98 kB / 0.9592 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.188e-05/0.01828, allocations: 92.77 kB / 0.9593 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01828, allocations: 0 / 0.9593 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003823/0.01867, allocations: 59.94 kB / 0.9594 GB, free: 2.559 MB / 0.8575 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.0002139/0.01888, allocations: 124.7 kB / 0.9595 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006467/0.01953, allocations: 378 kB / 0.9599 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.01953, allocations: 448 / 0.9599 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.01971, allocations: 87.89 kB / 0.96 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.02015, allocations: 34.53 kB / 0.96 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.02088, allocations: 282.8 kB / 0.9603 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.02099, allocations: 92.83 kB / 0.9603 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.998e-05/0.02106, allocations: 21.48 kB / 0.9604 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.02111, allocations: 16.5 kB / 0.9604 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.02111, allocations: 0 / 0.9604 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of Templates: time 0.008053/0.02916, allocations: 2.88 MB / 0.9632 GB, free: 14.64 MB / 0.8731 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.334460638463497]