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.001978/0.001978, allocations: 115 kB / 16.37 MB, free: 6.016 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.001844/0.001844, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.609/2.609, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.03 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4083, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001814/0.4102, allocations: 0.6646 MB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.4115, allocations: 1.163 MB / 1.029 GB, free: 224 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.4115, allocations: 0 / 1.029 GB, free: 224 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.4116, allocations: 3.938 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-05/0.4116, allocations: 7.922 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.4121, allocations: 147.6 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.4123, allocations: 147.8 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.769e-05/0.4124, allocations: 7.984 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.4125, allocations: 59.78 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.4126, allocations: 55.8 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.4126, allocations: 16 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.4127, allocations: 23.98 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.4127, allocations: 23.98 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.4128, allocations: 55.81 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.413, allocations: 127.7 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.413, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.482e-06/0.413, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.413, allocations: 3.938 kB / 1.029 GB, free: 15.55 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.0005544/0.4136, allocations: 421 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.4136, allocations: 12.03 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.4137, allocations: 16.84 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.414, allocations: 208.4 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.4141, allocations: 8.359 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.4141, allocations: 16.38 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.4143, allocations: 78.19 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4143, allocations: 3.938 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.4143, allocations: 8 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4143, allocations: 3.938 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.779e-05/0.4144, allocations: 39.97 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.4149, allocations: 356.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.4151, allocations: 102.6 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.4152, allocations: 36.84 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.4152, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.4154, allocations: 134.3 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.4154, allocations: 0 / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.000361/0.4158, allocations: 205.5 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.4158, allocations: 59.39 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/0.4159, allocations: 109.8 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.416, allocations: 37.7 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.416, allocations: 92.05 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.416, allocations: 27.84 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.4161, allocations: 45.7 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4162, allocations: 322.8 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.4164, allocations: 55.91 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.4165, allocations: 85.64 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.4166, allocations: 129.9 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4167, allocations: 4 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003223/0.417, allocations: 218.8 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.417, allocations: 29.7 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.417, allocations: 4.312 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.4171, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.4171, allocations: 11.94 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4171, allocations: 7.984 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.4173, allocations: 39.75 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.4174, allocations: 11.98 kB / 1.032 GB, free: 12.39 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.0001025/0.4175, allocations: 142.3 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.4175, allocations: 7.906 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.4175, allocations: 8.5 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4175, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4176, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4176, allocations: 7.922 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.418, allocations: 430.5 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.418, allocations: 0 / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.418, allocations: 8 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.418, allocations: 0 / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.418, allocations: 8 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.418, allocations: 0 / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4181, allocations: 7.922 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.4183, allocations: 259.3 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.4184, allocations: 88.95 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.4184, allocations: 0 / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.4185, allocations: 19.92 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.4186, allocations: 19.95 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.4186, allocations: 11.94 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.4186, allocations: 87.27 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4186, allocations: 0 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002689/0.4189, allocations: 28 kB / 1.033 GB, free: 11.18 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.0001742/0.4191, allocations: 120.7 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.4194, allocations: 195.3 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4194, allocations: 4 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.4195, 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.0002709/0.4198, allocations: 15.98 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.4202, 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.0002622/0.4205, allocations: 0.6926 MB / 1.034 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.4205, allocations: 12.42 kB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.4206, allocations: 23.42 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.4206, allocations: 0 / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of Templates: time 0.004552/0.4251, allocations: 1.631 MB / 1.036 GB, free: 8.18 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 cvode -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