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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002104, allocations: 62.84 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3338, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002403/0.3363, allocations: 0.7461 MB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3379, allocations: 1.261 MB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.3379, allocations: 0 / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.338, allocations: 7.875 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.521e-05/0.3381, allocations: 19.84 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.3388, allocations: 254.2 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.3391, allocations: 263.5 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.3392, allocations: 16.22 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3393, allocations: 103.8 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.3394, allocations: 95.73 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.3395, allocations: 24 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.3396, allocations: 43.92 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.574e-05/0.3396, allocations: 31.91 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3397, allocations: 91.73 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.34, allocations: 223.4 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.34, allocations: 0 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.34, allocations: 0 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.34, allocations: 0 / 1.03 GB, free: 14.86 MB / 0.8106 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.0007185/0.3408, allocations: 498.6 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3408, allocations: 12.03 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.3409, allocations: 16.84 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.3414, allocations: 252.2 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.3415, allocations: 24.3 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.3415, allocations: 20.36 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.3418, allocations: 135.9 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3418, allocations: 7.875 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3418, allocations: 11.98 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3418, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.342, allocations: 59.89 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000761/0.3427, allocations: 0.5124 MB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.343, allocations: 157.2 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3431, allocations: 65.7 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.3431, allocations: 3.984 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.3435, allocations: 206.3 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.3435, allocations: 0 / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0005404/0.344, allocations: 301.4 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.3441, allocations: 97.03 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3442, allocations: 133.4 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.3443, allocations: 45.69 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.3443, allocations: 100.8 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.3444, allocations: 43.42 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3445, allocations: 73.67 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3446, allocations: 322.8 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.3448, allocations: 84.23 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.345, allocations: 153.3 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.3453, allocations: 255 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3454, allocations: 384 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005758/0.3459, allocations: 360.7 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.346, allocations: 70.2 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.346, allocations: 7.938 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.346, allocations: 4 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.3461, allocations: 19.92 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3461, allocations: 7.938 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.3465, allocations: 63.78 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.3465, allocations: 23.98 kB / 1.034 GB, free: 10.43 MB / 0.8106 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.0001396/0.3467, allocations: 151.9 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3467, allocations: 11.91 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.3468, allocations: 12.5 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3468, allocations: 4 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3468, allocations: 3.938 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3468, allocations: 7.984 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.3474, allocations: 0.6108 MB / 1.035 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3474, allocations: 0 / 1.035 GB, free: 9.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.3474, allocations: 8 kB / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3475, allocations: 3.938 kB / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3475, allocations: 11.98 kB / 1.035 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3475, allocations: 4 kB / 1.035 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3475, allocations: 4 kB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.3479, allocations: 421.8 kB / 1.035 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.348, allocations: 92.86 kB / 1.035 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.348, allocations: 19.91 kB / 1.035 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3482, allocations: 11.98 kB / 1.035 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.3483, allocations: 23.97 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3483, allocations: 11.98 kB / 1.035 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.3483, allocations: 99.27 kB / 1.035 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3483, allocations: 0 / 1.035 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003469/0.3487, allocations: 55.98 kB / 1.035 GB, free: 8.777 MB / 0.8106 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.0001704/0.3489, allocations: 115.2 kB / 1.035 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.3494, allocations: 344.4 kB / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3494, allocations: 3.938 kB / 1.036 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3496, allocations: 123.9 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.35, allocations: 36.34 kB / 1.036 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3505, allocations: 272.4 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3508, allocations: 0.7047 MB / 1.037 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.834e-05/0.3509, allocations: 17.55 kB / 1.037 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.3509, allocations: 23.42 kB / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3509, allocations: 0 / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.005567/0.3565, allocations: 2.673 MB / 1.039 GB, free: 4.418 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) 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) Reference file matches