Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001473/0.001473, allocations: 110.6 kB / 15.99 MB, free: 6.352 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.001478/0.001478, allocations: 194.1 kB / 16.91 MB, free: 6.184 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.568/2.568, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.75 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2783, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001788/0.2801, allocations: 0.7234 MB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2815, allocations: 1.162 MB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.2815, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.2816, allocations: 11.88 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.2816, allocations: 7.938 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.2821, allocations: 127 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.2823, allocations: 147.7 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.802e-05/0.2823, allocations: 19.97 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.2824, allocations: 55.91 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.261e-05/0.2825, allocations: 47.86 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.2825, allocations: 12 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.2826, allocations: 27.98 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.2826, allocations: 19.92 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.2827, allocations: 59.83 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2829, allocations: 88.09 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2829, allocations: 4 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2829, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2829, allocations: 0 / 1.067 GB, free: 12.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006517/0.2835, allocations: 421 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2836, allocations: 12.03 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.2837, allocations: 8.844 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.2841, allocations: 212.5 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.2841, allocations: 12.36 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.2842, allocations: 8.375 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2844, allocations: 86.19 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2844, allocations: 11.92 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2844, allocations: 4 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2844, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.2845, allocations: 39.91 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.2852, allocations: 364.5 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.2854, allocations: 90.55 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.2855, allocations: 40.94 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.2855, allocations: 3.938 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/0.2857, allocations: 130.7 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2858, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0003975/0.2862, allocations: 205.5 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.2862, allocations: 59.34 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.2863, allocations: 109.8 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.2864, allocations: 33.7 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.2864, allocations: 95.98 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.2865, allocations: 27.7 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.2866, allocations: 49.69 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2867, allocations: 318.8 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2868, allocations: 55.91 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.2869, allocations: 80.27 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.2871, allocations: 137.9 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2871, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003343/0.2875, allocations: 211.1 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.2875, allocations: 33.7 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2875, allocations: 4 kB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2876, allocations: 4.125 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.2876, allocations: 15.92 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.2876, allocations: 4 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.2878, allocations: 35.81 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.2879, allocations: 8 kB / 1.069 GB, free: 9.438 MB / 0.8419 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.000129/0.288, allocations: 135.9 kB / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.288, allocations: 15.91 kB / 1.07 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.2881, allocations: 8.5 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2881, allocations: 0 / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2881, allocations: 4 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2881, allocations: 3.984 kB / 1.07 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004503/0.2885, allocations: 441 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2886, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.2886, allocations: 4 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2886, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2886, allocations: 11.98 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2886, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2886, allocations: 0 / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.2889, allocations: 263.3 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.289, allocations: 84.95 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.289, allocations: 15.98 kB / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.2891, allocations: 7.938 kB / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.2892, allocations: 19.97 kB / 1.07 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2892, allocations: 11.94 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.2892, allocations: 87.27 kB / 1.07 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2893, allocations: 0 / 1.07 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002625/0.2895, allocations: 32 kB / 1.07 GB, free: 8.219 MB / 0.8419 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.0001773/0.2897, allocations: 111.2 kB / 1.071 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.29, allocations: 199.2 kB / 1.071 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2901, allocations: 4.25 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.2902, allocations: 75.89 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.2904, allocations: 20.47 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.2908, allocations: 230.5 kB / 1.071 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.2912, allocations: 0.6924 MB / 1.072 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.2912, allocations: 15.44 kB / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.2913, allocations: 0 / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of Templates: time 0.003102/0.2944, allocations: 1.441 MB / 1.073 GB, free: 5.375 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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