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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001163/0.001163, allocations: 106.2 kB / 16.27 MB, free: 6.41 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.001092/0.001092, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 469.4 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 62.83 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3286, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002161/0.3308, allocations: 0.7314 MB / 1.065 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.3325, allocations: 1.26 MB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.3326, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.3326, allocations: 15.92 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/0.3328, allocations: 19.8 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007818/0.3336, allocations: 240.3 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.3339, allocations: 259.6 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.334, allocations: 20.17 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3342, allocations: 99.86 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3344, allocations: 83.75 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.3344, allocations: 24 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3345, allocations: 39.98 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.3346, allocations: 35.89 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.3347, allocations: 91.73 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.335, allocations: 227.6 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.335, allocations: 0 / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.335, allocations: 4 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3351, allocations: 3.984 kB / 1.067 GB, free: 11.84 MB / 0.8419 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.0007593/0.3358, allocations: 494.6 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3359, allocations: 8.031 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.336, allocations: 20.84 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.3366, allocations: 264.2 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.3366, allocations: 8.375 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.3367, allocations: 24.36 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.3369, allocations: 126.6 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.337, allocations: 7.938 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.337, allocations: 3.984 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.337, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3371, allocations: 63.89 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008116/0.338, allocations: 0.5124 MB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.3382, allocations: 165.2 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.3384, allocations: 61.69 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.3384, allocations: 0 / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.3388, allocations: 204.8 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.3388, allocations: 4 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0005951/0.3394, allocations: 305.4 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.3394, allocations: 92.97 kB / 1.07 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3396, allocations: 141 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.3396, allocations: 37.7 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.3397, allocations: 100.8 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.3398, allocations: 47.41 kB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.3399, allocations: 73.67 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.34, allocations: 326.8 kB / 1.07 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.3402, allocations: 84.22 kB / 1.07 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.3404, allocations: 164.9 kB / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.3407, allocations: 251.2 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3408, allocations: 0 / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000596/0.3414, allocations: 352.6 kB / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.3414, allocations: 71.39 kB / 1.071 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3414, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3415, allocations: 4 kB / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3416, allocations: 20.14 kB / 1.071 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3416, allocations: 11.94 kB / 1.071 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.342, allocations: 63.78 kB / 1.071 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.342, allocations: 19.98 kB / 1.071 GB, free: 7.422 MB / 0.8419 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.0001473/0.3422, allocations: 148 kB / 1.071 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.3422, allocations: 15.81 kB / 1.071 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.3422, allocations: 16.5 kB / 1.071 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3423, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.3423, allocations: 15.91 kB / 1.071 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3423, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.3429, allocations: 0.607 MB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3429, allocations: 4 kB / 1.072 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.343, allocations: 7.984 kB / 1.072 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.343, allocations: 7.938 kB / 1.072 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.343, allocations: 8 kB / 1.072 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.343, allocations: 3.984 kB / 1.072 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.343, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.3435, allocations: 417.7 kB / 1.072 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.3435, allocations: 100.8 kB / 1.073 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.3436, allocations: 11.94 kB / 1.073 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3437, allocations: 11.98 kB / 1.073 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.3438, allocations: 24.05 kB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3438, allocations: 15.94 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.705e-05/0.3439, allocations: 95.27 kB / 1.073 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.734e-06/0.3439, allocations: 0 / 1.073 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003651/0.3443, allocations: 63.92 kB / 1.073 GB, free: 5.77 MB / 0.8419 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.0001917/0.3445, allocations: 119.7 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005087/0.345, allocations: 354.6 kB / 1.073 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.345, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.3452, allocations: 119.9 kB / 1.073 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3456, allocations: 36.48 kB / 1.073 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.3461, allocations: 301 kB / 1.074 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.3464, allocations: 0.7086 MB / 1.074 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.3465, allocations: 19.44 kB / 1.074 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.3465, allocations: 0 / 1.074 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.004956/0.3514, allocations: 2.255 MB / 1.077 GB, free: 1.801 MB / 0.8419 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 -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) "" 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