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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 496.2 MB / 0.7819 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001992/0.001992, allocations: 75.88 kB / 1.136 GB, free: 12.4 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232/1.234, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001736/1.236, allocations: 0.7507 MB / 1.306 GB, free: 32.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001262/1.237, allocations: 1.264 MB / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/1.237, allocations: 6.844 kB / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/1.237, allocations: 7.938 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.643e-05/1.238, allocations: 25.47 kB / 1.307 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/1.238, allocations: 242.7 kB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/1.238, allocations: 253.3 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/1.238, allocations: 10.55 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.301e-05/1.238, allocations: 104.8 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/1.239, allocations: 96.14 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/1.239, allocations: 27.3 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-05/1.239, allocations: 35.81 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/1.239, allocations: 31.08 kB / 1.308 GB, free: 31.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/1.239, allocations: 88.11 kB / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/1.239, allocations: 229.1 kB / 1.308 GB, free: 31.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.239, allocations: 2.906 kB / 1.309 GB, free: 31.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.452e-06/1.239, allocations: 0 / 1.309 GB, free: 31.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.239, allocations: 0 / 1.309 GB, free: 31.53 MB / 1.061 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.0006491/1.24, allocations: 0.4964 MB / 1.309 GB, free: 31.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/1.24, allocations: 12.7 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/1.24, allocations: 16.39 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/1.24, allocations: 251.6 kB / 1.309 GB, free: 30.83 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/1.24, allocations: 15.8 kB / 1.309 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/1.24, allocations: 29.2 kB / 1.309 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/1.241, allocations: 140.7 kB / 1.309 GB, free: 30.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.241, allocations: 3.938 kB / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/1.241, allocations: 0 / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.241, allocations: 2.781 kB / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/1.241, allocations: 60.62 kB / 1.309 GB, free: 30.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/1.241, allocations: 0.5102 MB / 1.31 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/1.242, allocations: 137.7 kB / 1.31 GB, free: 30.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/1.242, allocations: 47.97 kB / 1.31 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/1.242, allocations: 6.844 kB / 1.31 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/1.242, allocations: 211.1 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/1.242, allocations: 4 kB / 1.31 GB, free: 30.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0004691/1.242, allocations: 309 kB / 1.311 GB, free: 29.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/1.243, allocations: 86.73 kB / 1.311 GB, free: 29.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/1.243, allocations: 136.2 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/1.243, allocations: 39.36 kB / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/1.243, allocations: 94.34 kB / 1.311 GB, free: 29.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/1.243, allocations: 54 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/1.243, allocations: 73.23 kB / 1.311 GB, free: 29.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.335e-05/1.243, allocations: 332.8 kB / 1.311 GB, free: 29.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/1.243, allocations: 89.67 kB / 1.312 GB, free: 29.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/1.243, allocations: 157 kB / 1.312 GB, free: 29.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/1.243, allocations: 244.8 kB / 1.312 GB, free: 28.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.243, allocations: 0 / 1.312 GB, free: 28.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004506/1.244, allocations: 365.5 kB / 1.312 GB, free: 28.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/1.244, allocations: 69.42 kB / 1.312 GB, free: 28.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.244, allocations: 2.844 kB / 1.312 GB, free: 28.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.244, allocations: 3.031 kB / 1.312 GB, free: 28.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/1.244, allocations: 22.23 kB / 1.312 GB, free: 28.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.244, allocations: 14.84 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/1.244, allocations: 66.05 kB / 1.312 GB, free: 28.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/1.244, allocations: 21.19 kB / 1.312 GB, free: 28.59 MB / 1.061 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 9.827e-05/1.244, allocations: 149.5 kB / 1.313 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/1.244, allocations: 16.44 kB / 1.313 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/1.245, allocations: 18.7 kB / 1.313 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.245, allocations: 2.844 kB / 1.313 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.245, allocations: 7.938 kB / 1.313 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.245, allocations: 0 / 1.313 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/1.245, allocations: 0.6093 MB / 1.313 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.245, allocations: 0 / 1.313 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/1.245, allocations: 12.34 kB / 1.313 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.245, allocations: 3.938 kB / 1.313 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/1.245, allocations: 6.312 kB / 1.313 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.245, allocations: 3.031 kB / 1.313 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.245, allocations: 0 / 1.313 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/1.245, allocations: 423.9 kB / 1.314 GB, free: 27.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/1.245, allocations: 95.36 kB / 1.314 GB, free: 27.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/1.245, allocations: 17.03 kB / 1.314 GB, free: 27.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/1.246, allocations: 13.89 kB / 1.314 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/1.246, allocations: 18.28 kB / 1.314 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/1.246, allocations: 15.8 kB / 1.314 GB, free: 27.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.304e-05/1.246, allocations: 102 kB / 1.314 GB, free: 27.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.246, allocations: 0 / 1.314 GB, free: 27.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003287/1.246, allocations: 56.5 kB / 1.314 GB, free: 27.46 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.0001588/1.246, allocations: 116.5 kB / 1.314 GB, free: 27.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004023/1.247, allocations: 320.4 kB / 1.314 GB, free: 27.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.247, allocations: 448 / 1.314 GB, free: 27.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/1.247, allocations: 86.44 kB / 1.314 GB, free: 27.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/1.247, allocations: 32.53 kB / 1.315 GB, free: 27.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/1.247, allocations: 283.2 kB / 1.315 GB, free: 26.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/1.248, allocations: 0.7119 MB / 1.315 GB, free: 26.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.453e-05/1.248, allocations: 16.53 kB / 1.315 GB, free: 26.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/1.248, allocations: 16.22 kB / 1.316 GB, free: 26.24 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/1.248, allocations: 3.938 kB / 1.316 GB, free: 26.23 MB / 1.061 GB Notification: Performance of Templates: time 0.005545/1.253, allocations: 2.743 MB / 1.318 GB, free: 26.01 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.941025575622916]