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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_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.001063/0.001063, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001126/0.001126, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.587/2.587, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 70.05 kB / 0.8985 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3156, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002072/0.3177, allocations: 0.7272 MB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.3192, allocations: 1.178 MB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.3193, allocations: 3.938 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.3193, allocations: 0 / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.3194, allocations: 11.92 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.3199, allocations: 134.8 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.3201, allocations: 123.8 kB / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3202, allocations: 16 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3203, allocations: 51.88 kB / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.3204, allocations: 43.83 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.3204, allocations: 8 kB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.3205, allocations: 27.97 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.3205, allocations: 15.98 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.3206, allocations: 47.83 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3208, allocations: 123.9 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3208, allocations: 4 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3208, allocations: 0 / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3209, allocations: 0 / 1.055 GB, free: 5.723 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.0006043/0.3215, allocations: 421.1 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3215, allocations: 11.97 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.3216, allocations: 38.75 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.3216, allocations: 12.84 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.322, allocations: 208.5 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.3221, allocations: 12.31 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.3221, allocations: 12.36 kB / 1.055 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3223, allocations: 93.83 kB / 1.055 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3223, allocations: 0 / 1.055 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3223, allocations: 7.984 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3223, allocations: 0 / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.3224, allocations: 39.97 kB / 1.055 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.323, allocations: 360.5 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3232, allocations: 94.53 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.3232, allocations: 41 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.3233, allocations: 7.984 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.3235, allocations: 123.3 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3235, allocations: 0 / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0003807/0.3239, allocations: 204.1 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.324, allocations: 55.41 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.3241, allocations: 117.8 kB / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3241, allocations: 33.7 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.3242, allocations: 92.05 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.3242, allocations: 27.69 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.3243, allocations: 45.7 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3244, allocations: 322.8 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3245, allocations: 51.97 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3246, allocations: 84.27 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.3248, allocations: 133.9 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3248, allocations: 0 / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003284/0.3252, allocations: 216.8 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.3252, allocations: 37.69 kB / 1.057 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3252, allocations: 4 kB / 1.057 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3252, allocations: 3.938 kB / 1.057 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.3253, allocations: 11.94 kB / 1.057 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3253, allocations: 4.312 kB / 1.057 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.3255, allocations: 39.8 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.3256, allocations: 8.125 kB / 1.058 GB, free: 2.52 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.0001059/0.3257, allocations: 137.7 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.3257, allocations: 11.91 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.3257, allocations: 8.5 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3257, allocations: 0 / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3258, allocations: 0 / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3258, allocations: 4 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.3262, allocations: 434.5 kB / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3262, allocations: 0 / 1.058 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.3262, allocations: 11.92 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3262, allocations: 7.938 kB / 1.058 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3263, allocations: 0 / 1.058 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3263, allocations: 4 kB / 1.058 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3263, allocations: 0 / 1.058 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3265, allocations: 264.1 kB / 1.058 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.3266, allocations: 88.95 kB / 1.058 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.3266, allocations: 8 kB / 1.058 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.3267, allocations: 7.984 kB / 1.058 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3268, allocations: 11.92 kB / 1.058 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3268, allocations: 15.98 kB / 1.058 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.3268, allocations: 87.27 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.553e-06/0.3268, allocations: 0 / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002699/0.3271, allocations: 39.92 kB / 1.059 GB, free: 1.301 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.0005654/0.3277, allocations: 0.8022 MB / 1.059 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002925/0.328, allocations: 191.3 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.328, allocations: 0 / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.891e-05/0.3281, allocations: 71.92 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.3284, allocations: 30.69 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.3301, allocations: 1.697 MB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.3303, allocations: 0.6887 MB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.831e-05/0.3304, allocations: 12.55 kB / 1.062 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.3304, allocations: 23.44 kB / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3304, allocations: 0 / 1.062 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.3432, allocations: 2.516 MB / 1.064 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.3435, allocations: 220.5 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.043, allocations: 0 / 1.065 GB, free: 11.02 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > 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) "" 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