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.001485/0.001485, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001618/0.001618, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.95 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3204, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001937/0.3224, allocations: 0.6722 MB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3238, allocations: 1.163 MB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.3239, allocations: 0 / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.3239, allocations: 7.875 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.324, allocations: 3.938 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.3245, allocations: 147.2 kB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3247, allocations: 147.8 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3248, allocations: 11.98 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.3249, allocations: 59.83 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.325, allocations: 55.84 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.3251, allocations: 16 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.3251, allocations: 28 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.3252, allocations: 23.91 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3253, allocations: 55.83 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3255, allocations: 119.7 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3255, allocations: 7.922 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3255, allocations: 4 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3255, allocations: 0 / 1.029 GB, free: 15.54 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.0005947/0.3261, allocations: 417 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3262, allocations: 8.031 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.3262, allocations: 16.84 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.3266, allocations: 204.5 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.3267, allocations: 16.3 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.3267, allocations: 12.38 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3269, allocations: 82.19 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3269, allocations: 3.938 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3269, allocations: 4 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3269, allocations: 0 / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.167e-05/0.327, allocations: 43.91 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.3276, allocations: 368.5 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3278, allocations: 94.55 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.3279, allocations: 32.84 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.3279, allocations: 96 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.3282, allocations: 131.2 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3282, allocations: 0 / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0003886/0.3286, allocations: 208.3 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.3286, allocations: 55.41 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.3287, allocations: 114 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3288, allocations: 37.7 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.3288, allocations: 92.05 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3289, allocations: 27.84 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.3289, allocations: 49.69 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3291, allocations: 318.8 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.3292, allocations: 51.97 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3293, allocations: 84.27 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3295, allocations: 137.9 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3295, allocations: 0 / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003289/0.3298, allocations: 211.2 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.3299, allocations: 33.7 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3299, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3299, allocations: 3.938 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.33, allocations: 15.92 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.33, allocations: 12 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.3302, allocations: 39.81 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3302, allocations: 8 kB / 1.032 GB, free: 12.38 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.0001036/0.3303, allocations: 138.3 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.3303, allocations: 7.906 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.3304, allocations: 8.5 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3304, allocations: 4 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3304, allocations: 0 / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3304, allocations: 3.984 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.3308, allocations: 437.9 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.3308, allocations: 0 / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.3309, allocations: 8 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3309, allocations: 3.984 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3309, allocations: 11.98 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3309, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3309, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.3312, allocations: 263.3 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.3313, allocations: 88.95 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.3313, allocations: 7.984 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.3314, allocations: 12 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3314, allocations: 15.97 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.3315, allocations: 11.94 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.3315, allocations: 91.27 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3315, allocations: 0 / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002692/0.3318, allocations: 32 kB / 1.033 GB, free: 11.16 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.00016/0.332, allocations: 106.8 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.3323, allocations: 203.2 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3323, allocations: 0 / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3324, allocations: 67.98 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3327, allocations: 15.98 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.3331, allocations: 190.6 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3333, allocations: 0.7004 MB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.3334, allocations: 12.41 kB / 1.034 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.3334, allocations: 19.44 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3334, allocations: 0 / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of Templates: time 0.004105/0.3376, allocations: 1.636 MB / 1.036 GB, free: 8.164 MB / 0.8106 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 -s gbode -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) Reference file matches