Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002293/0.002293, allocations: 200 kB / 16.79 MB, free: 6.828 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.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.882/2.882, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 64.3 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3301, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002476/0.3326, allocations: 0.731 MB / 1.053 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3344, allocations: 1.178 MB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.3345, allocations: 0 / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.3346, allocations: 0 / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.435e-05/0.3347, allocations: 15.92 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.3352, allocations: 130.5 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3354, allocations: 123.7 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3355, allocations: 11.98 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3356, allocations: 51.91 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3357, allocations: 43.86 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.3358, allocations: 8 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.3359, allocations: 23.92 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.3359, allocations: 23.92 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.336, allocations: 51.83 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.3362, allocations: 92.08 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3362, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3362, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3362, allocations: 0 / 1.055 GB, free: 5.812 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006915/0.3369, allocations: 420.9 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.337, allocations: 15.97 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.337, allocations: 12.84 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.3375, allocations: 208.5 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3375, allocations: 8.375 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.3376, allocations: 16.36 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3378, allocations: 82.14 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3378, allocations: 7.938 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.3378, allocations: 3.984 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3378, allocations: 0 / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.61e-05/0.3379, allocations: 39.97 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.3386, allocations: 364.5 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3388, allocations: 90.53 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.04e-05/0.3389, allocations: 44.83 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.3389, allocations: 3.938 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.3391, allocations: 123.3 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3391, allocations: 0 / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004256/0.3396, allocations: 205.6 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.3396, allocations: 55.41 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.3397, allocations: 109.8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.3398, allocations: 37.7 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3399, allocations: 96.03 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.3399, allocations: 23.86 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.34, allocations: 49.69 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3401, allocations: 322.8 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3403, allocations: 47.98 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.3404, allocations: 95 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3406, allocations: 139.4 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3406, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003553/0.341, allocations: 211.2 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.341, allocations: 29.7 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.341, allocations: 7.984 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3411, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.3411, allocations: 15.94 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3411, allocations: 4 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.3414, allocations: 39.81 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3414, allocations: 7.984 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001274/0.3415, allocations: 137.8 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.3415, allocations: 11.89 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.3416, allocations: 8.5 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3416, allocations: 4 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3416, allocations: 0 / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3416, allocations: 0 / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.3421, allocations: 431.8 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3421, allocations: 4 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.3421, allocations: 11.94 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3421, allocations: 0 / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3421, allocations: 7.984 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3422, allocations: 0 / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3422, allocations: 0 / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3424, allocations: 261.1 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.3425, allocations: 92.94 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3425, allocations: 8 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/0.3426, allocations: 7.984 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.3427, allocations: 15.92 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3427, allocations: 15.92 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.612e-05/0.3428, allocations: 87.22 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.483e-06/0.3428, allocations: 4 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002904/0.3431, allocations: 35.92 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002074/0.3433, allocations: 104 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.3436, allocations: 195.3 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3436, allocations: 0 / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3438, allocations: 75.91 kB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3441, allocations: 15.98 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.3445, allocations: 230.3 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.3448, allocations: 0.6848 MB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.3448, allocations: 23.42 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.3448, allocations: 0 / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of Templates: time 0.003311/0.3482, allocations: 1.439 MB / 1.062 GB, free: 14.61 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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 Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time