Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001673/0.001673, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002065/0.002065, allocations: 189.7 kB / 16.25 MB, free: 6.637 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.493/1.493, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 71.88 kB / 0.8121 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.82/0.8215, allocations: 140.3 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002146/0.8237, allocations: 0.7355 MB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.8256, allocations: 1.152 MB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.8257, allocations: 0 / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.8258, allocations: 4 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.8259, allocations: 5.312 kB / 0.951 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.8264, allocations: 132.5 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.8266, allocations: 148.8 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.8267, allocations: 12.61 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.8268, allocations: 58.05 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.8269, allocations: 52.08 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.8269, allocations: 13.12 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.827, allocations: 24.14 kB / 0.9514 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.8271, allocations: 15.89 kB / 0.9514 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.024e-05/0.8271, allocations: 61.45 kB / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.8273, allocations: 131.3 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8273, allocations: 1.312 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8273, allocations: 0 / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.8274, allocations: 0 / 0.9516 GB, free: 7.219 MB / 0.7169 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.0005928/0.8279, allocations: 417.2 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.828, allocations: 8.969 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.8281, allocations: 13.06 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.8285, allocations: 216.8 kB / 0.9522 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.8285, allocations: 9.031 kB / 0.9522 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.8286, allocations: 14.23 kB / 0.9522 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.8287, allocations: 85.33 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.8288, allocations: 5.25 kB / 0.9523 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.8288, allocations: 5.109 kB / 0.9523 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8288, allocations: 1.219 kB / 0.9523 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.8289, allocations: 43.47 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.8294, allocations: 354.6 kB / 0.9527 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.8296, allocations: 93.58 kB / 0.9528 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.8297, allocations: 43.17 kB / 0.9528 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.8297, allocations: 1.125 kB / 0.9528 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.83, allocations: 131.5 kB / 0.953 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.83, allocations: 0 / 0.953 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004408/0.8304, allocations: 203.3 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.8305, allocations: 58.38 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.8306, allocations: 111.3 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.8306, allocations: 37.84 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.8307, allocations: 91.86 kB / 0.9534 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.8307, allocations: 35.66 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.8308, allocations: 44.61 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.8309, allocations: 325.1 kB / 0.9538 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.831, allocations: 49.91 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.8311, allocations: 83.77 kB / 0.954 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.8313, allocations: 141.8 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8313, allocations: 1.344 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003459/0.8317, allocations: 210.4 kB / 0.9543 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.8317, allocations: 37.03 kB / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8317, allocations: 5.188 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.8318, allocations: 2.219 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.8318, allocations: 19.84 kB / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.8319, allocations: 2.375 kB / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.8321, allocations: 30.69 kB / 0.9544 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.8321, allocations: 15.33 kB / 0.9544 GB, free: 4.699 MB / 0.7169 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.0001002/0.8322, allocations: 134.2 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.8322, allocations: 9.891 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.8323, allocations: 8.5 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8323, allocations: 2.5 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.8323, allocations: 0 / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8323, allocations: 0 / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.8327, allocations: 439.5 kB / 0.955 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.8327, allocations: 1.562 kB / 0.955 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.8327, allocations: 7.188 kB / 0.955 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8327, allocations: 5.188 kB / 0.955 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.8327, allocations: 5.203 kB / 0.955 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8328, allocations: 1.188 kB / 0.955 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8328, allocations: 0 / 0.955 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.833, allocations: 262.7 kB / 0.9552 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.833, allocations: 82.25 kB / 0.9553 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.8331, allocations: 10.72 kB / 0.9553 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.8332, allocations: 10.83 kB / 0.9553 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.8332, allocations: 15.02 kB / 0.9554 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.8332, allocations: 12.48 kB / 0.9554 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.8333, allocations: 89.47 kB / 0.9555 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8333, allocations: 0 / 0.9555 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003053/0.8336, allocations: 36.2 kB / 0.9555 GB, free: 3.734 MB / 0.7169 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.0001693/0.8338, allocations: 114.4 kB / 0.9556 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003266/0.8341, allocations: 195.5 kB / 0.9558 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8341, allocations: 0 / 0.9558 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.8342, allocations: 71.75 kB / 0.9559 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.8345, allocations: 15.05 kB / 0.9559 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.8349, allocations: 220.4 kB / 0.9561 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.8351, allocations: 0.6942 MB / 0.9568 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.8351, allocations: 8.359 kB / 0.9568 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.8352, allocations: 13.06 kB / 0.9568 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.8352, allocations: 0 / 0.9568 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of Templates: time 0.004452/0.8396, allocations: 1.606 MB / 0.9583 GB, free: 1.746 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches