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.001326/0.001326, allocations: 91.92 kB / 16.02 MB, free: 80 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.002032/0.002032, allocations: 177 kB / 16.92 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.936/2.936, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003792, allocations: 8.562 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3229, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001001/0.324, allocations: 401.7 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3257, allocations: 1.163 MB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.3258, allocations: 4 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.3258, allocations: 0 / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.3259, allocations: 11.92 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.3265, allocations: 127 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3267, allocations: 135.7 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3268, allocations: 15.98 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.3269, allocations: 43.91 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.327, allocations: 47.86 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.3271, allocations: 8 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.3272, allocations: 23.92 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.3272, allocations: 23.91 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.3273, allocations: 73.55 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.3275, allocations: 88.06 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3275, allocations: 0 / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3275, allocations: 0 / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3275, allocations: 0 / 1.061 GB, free: 2.789 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.0005663/0.3281, allocations: 408.9 kB / 1.062 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3281, allocations: 15.97 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.3282, allocations: 4.938 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.3286, allocations: 216.4 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.3286, allocations: 8.375 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.3287, allocations: 12.36 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3289, allocations: 86.14 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3289, allocations: 3.938 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.3289, allocations: 11.98 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3289, allocations: 0 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.72e-05/0.329, allocations: 35.97 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.3296, allocations: 368.6 kB / 1.063 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3298, allocations: 94.55 kB / 1.063 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.3299, allocations: 40.83 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.3299, allocations: 4 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.3302, allocations: 127.2 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.3302, allocations: 0 / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004057/0.3307, allocations: 201.6 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3307, allocations: 55.41 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.3308, allocations: 109.8 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.3309, allocations: 37.69 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.3309, allocations: 88.14 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.331, allocations: 31.75 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.331, allocations: 25.72 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3312, allocations: 326.8 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3313, allocations: 47.97 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3314, allocations: 89.92 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.3317, allocations: 140.7 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3317, allocations: 0 / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003777/0.3321, allocations: 203.2 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.3321, allocations: 41.69 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3321, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3322, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.3322, allocations: 11.94 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3323, allocations: 4.125 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.3325, allocations: 51.8 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.3325, allocations: 15.94 kB / 1.064 GB, free: 15.65 MB / 0.8262 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.0001332/0.3327, allocations: 137.7 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.3327, allocations: 12 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.3328, allocations: 8.5 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3328, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.3328, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3328, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.3333, allocations: 434.4 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3333, allocations: 0 / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.3333, allocations: 15.92 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3333, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3333, allocations: 4 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3334, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3334, allocations: 0 / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.3337, allocations: 267.3 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.3337, allocations: 85.05 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.3338, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.3339, allocations: 19.98 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.3339, allocations: 7.984 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.334, allocations: 19.86 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.334, allocations: 91.2 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.334, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002875/0.3343, allocations: 32 kB / 1.065 GB, free: 14.43 MB / 0.8262 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.000198/0.3345, allocations: 112.2 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.3349, allocations: 192.4 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3349, allocations: 0 / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.335, allocations: 75.92 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3353, allocations: 11.98 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.3358, allocations: 243.7 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.336, allocations: 0.6887 MB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.3361, allocations: 15.44 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of SimCode: time 6.42e-07/0.3361, allocations: 0 / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of Templates: time 0.003621/0.3397, allocations: 1.436 MB / 1.068 GB, free: 11.6 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