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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007029/0.007029, allocations: 100.5 kB / 15.73 MB, free: 6.051 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.001501/0.001501, allocations: 199.3 kB / 16.67 MB, free: 5.977 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.363/2.363, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.72 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3355, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002468/0.338, allocations: 0.672 MB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.34, allocations: 1.161 MB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.315e-05/0.3401, allocations: 4 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.3401, allocations: 3.938 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.747e-05/0.3402, allocations: 7.922 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007188/0.341, allocations: 147.2 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.3412, allocations: 155.6 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3414, allocations: 8 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3415, allocations: 55.91 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.3417, allocations: 51.84 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.3417, allocations: 16 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-05/0.3418, allocations: 31.92 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.3419, allocations: 19.92 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.342, allocations: 55.83 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3422, allocations: 130.5 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3422, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3422, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3422, allocations: 3.938 kB / 1.09 GB, free: 15.46 MB / 0.8575 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.0007648/0.343, allocations: 417.9 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.3431, allocations: 12.03 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.3431, allocations: 38.73 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.3432, allocations: 12.84 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.3437, allocations: 208.4 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.3437, allocations: 12.36 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.3438, allocations: 16.36 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.344, allocations: 89.88 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.344, allocations: 4 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.344, allocations: 0 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.344, allocations: 4 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3441, allocations: 43.91 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007293/0.3449, allocations: 352.5 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.3451, allocations: 94.53 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.3452, allocations: 40.84 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.3452, allocations: 4 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.3455, allocations: 127.3 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/0.3455, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004539/0.346, allocations: 200.7 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.346, allocations: 67.53 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3462, allocations: 109.8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.3462, allocations: 33.7 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.3463, allocations: 88.05 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.3463, allocations: 35.58 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/0.3464, allocations: 45.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3466, allocations: 322.8 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3467, allocations: 47.97 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3468, allocations: 90.16 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.347, allocations: 129.9 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3471, allocations: 4 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003445/0.3474, allocations: 211.1 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.3475, allocations: 37.7 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3475, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3475, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.3476, allocations: 8 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3476, allocations: 15.8 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.3478, allocations: 36 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.3478, allocations: 12 kB / 1.093 GB, free: 12.27 MB / 0.8575 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.0001273/0.348, allocations: 125.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.348, allocations: 11.91 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.348, allocations: 12.5 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3481, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3481, allocations: 4 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3481, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.3486, allocations: 449.6 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3486, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.3486, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.3486, allocations: 4 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3487, allocations: 4 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3487, allocations: 0 / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3487, allocations: 0 / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.349, allocations: 267.3 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.349, allocations: 89.02 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.3491, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.3492, allocations: 7.984 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.3492, allocations: 19.91 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3492, allocations: 8 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.3493, allocations: 87.27 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3493, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002799/0.3496, allocations: 32 kB / 1.094 GB, free: 11.06 MB / 0.8575 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.0007217/0.3503, allocations: 0.8071 MB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003634/0.3507, allocations: 191.3 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3507, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3508, allocations: 75.89 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3511, allocations: 24.17 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.353, allocations: 1.702 MB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.3534, allocations: 0.6999 MB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.945e-05/0.3535, allocations: 12.41 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.3535, allocations: 19.44 kB / 1.097 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.3535, allocations: 7.938 kB / 1.097 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.3736, allocations: 2.842 MB / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.073, allocations: 3.938 kB / 1.1 GB, free: 4.652 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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:booPul.period,booPul.shift,booPul.width,booPul.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time