Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001535/0.001535, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.001559/0.001559, allocations: 197.2 kB / 20.08 MB, free: 3 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.428/1.428, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 443.5 MB / 0.7293 GB, free: 14.43 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 71.88 kB / 1.057 GB, free: 1.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3241, allocations: 160.7 MB / 1.214 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002318/0.3264, allocations: 0.7425 MB / 1.215 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.3283, allocations: 1.265 MB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.3284, allocations: 0 / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.3284, allocations: 11.88 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3285, allocations: 19.86 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.3293, allocations: 243 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.3296, allocations: 255.5 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3298, allocations: 20.2 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.3299, allocations: 99.8 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.3301, allocations: 95.73 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.3301, allocations: 24 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3302, allocations: 39.92 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.3303, allocations: 31.91 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.3304, allocations: 91.73 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.3307, allocations: 223.3 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3307, allocations: 3.984 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3307, allocations: 0 / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3307, allocations: 3.938 kB / 1.217 GB, free: 13.66 MB / 0.9669 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.000846/0.3315, allocations: 0.4906 MB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3316, allocations: 11.98 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.3316, allocations: 16.89 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.3323, allocations: 260.2 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.3323, allocations: 12.36 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.3323, allocations: 20.38 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.3326, allocations: 131.9 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3326, allocations: 3.938 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3326, allocations: 7.984 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3326, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3328, allocations: 63.89 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.3336, allocations: 0.5163 MB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.3339, allocations: 137.2 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.126e-05/0.334, allocations: 45.7 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.334, allocations: 4 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.3344, allocations: 212.8 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.233e-06/0.3344, allocations: 0 / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22): time 0.0006149/0.335, allocations: 309.4 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.3351, allocations: 93.03 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3352, allocations: 128.6 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.3353, allocations: 45.69 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.3354, allocations: 92.66 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.3354, allocations: 51.78 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3355, allocations: 73.67 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3357, allocations: 326.8 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.3359, allocations: 92.23 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.3361, allocations: 144.7 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3364, allocations: 255.3 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3364, allocations: 4 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006293/0.3371, allocations: 372.2 kB / 1.221 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.249e-05/0.3371, allocations: 71.33 kB / 1.221 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3371, allocations: 4.078 kB / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3372, allocations: 4 kB / 1.221 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3373, allocations: 19.92 kB / 1.221 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.3373, allocations: 11.92 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.3377, allocations: 68.05 kB / 1.221 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.3377, allocations: 19.98 kB / 1.221 GB, free: 9.246 MB / 0.9669 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.0001631/0.3379, allocations: 144 kB / 1.221 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.3379, allocations: 15.91 kB / 1.221 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.338, allocations: 12.5 kB / 1.221 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.338, allocations: 7.984 kB / 1.221 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.338, allocations: 3.938 kB / 1.221 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.338, allocations: 7.984 kB / 1.221 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/0.3387, allocations: 0.6109 MB / 1.222 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3387, allocations: 0 / 1.222 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.3387, allocations: 8 kB / 1.222 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3387, allocations: 3.938 kB / 1.222 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.3388, allocations: 7.984 kB / 1.222 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3388, allocations: 0 / 1.222 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/0.3388, allocations: 4 kB / 1.222 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.3392, allocations: 428.8 kB / 1.222 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.3393, allocations: 85.06 kB / 1.222 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.3393, allocations: 15.92 kB / 1.222 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3395, allocations: 12.08 kB / 1.222 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.3396, allocations: 23.91 kB / 1.222 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.3396, allocations: 15.98 kB / 1.222 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.183e-05/0.3396, allocations: 99.27 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3396, allocations: 0 / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003667/0.34, allocations: 59.94 kB / 1.223 GB, free: 7.602 MB / 0.9669 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.0002084/0.3402, allocations: 119.1 kB / 1.223 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005287/0.3408, allocations: 314.6 kB / 1.223 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3408, allocations: 0 / 1.223 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.3409, allocations: 84.31 kB / 1.223 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3413, allocations: 41.72 kB / 1.223 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.3419, allocations: 305.8 kB / 1.223 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3423, allocations: 0.7047 MB / 1.224 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.3423, allocations: 31.42 kB / 1.224 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.3423, allocations: 0 / 1.224 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.00477/0.3471, allocations: 2.27 MB / 1.226 GB, free: 3.668 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.27356747398153]