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.0007408/0.0007409, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005137/0.005137, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 10.12 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001104/0.3503, allocations: 413.5 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3522, allocations: 1.163 MB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.3523, allocations: 0 / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/0.3523, allocations: 4 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.704e-05/0.3524, allocations: 7.922 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.353, allocations: 142.7 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3532, allocations: 123.7 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3533, allocations: 8 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.3534, allocations: 55.81 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.3536, allocations: 47.89 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.3536, allocations: 4 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.3537, allocations: 23.98 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.3537, allocations: 19.91 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.838e-05/0.3538, allocations: 69.55 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3541, allocations: 123.9 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3541, allocations: 3.984 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3541, allocations: 0 / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.3541, allocations: 0 / 1.061 GB, free: 2.688 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.0006639/0.3548, allocations: 397.1 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.3548, allocations: 11.97 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.3549, allocations: 38.75 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.355, allocations: 12.83 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.3555, allocations: 212.5 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.3555, allocations: 12.36 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.3555, allocations: 12.38 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3557, allocations: 89.94 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3557, allocations: 0 / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3558, allocations: 4 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3558, allocations: 0 / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.547e-05/0.3559, allocations: 43.91 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.3565, allocations: 364.5 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.3567, allocations: 98.47 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.3568, allocations: 44.78 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3568, allocations: 0 / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.3571, allocations: 143.1 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/0.3571, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004375/0.3576, allocations: 193.5 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.3577, allocations: 59.39 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3578, allocations: 109.8 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.3578, allocations: 33.7 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.3579, allocations: 88.14 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.3579, allocations: 35.55 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.358, allocations: 25.7 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3581, allocations: 322.8 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3582, allocations: 47.97 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3583, allocations: 85.47 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.3585, allocations: 141.9 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3585, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003355/0.3589, allocations: 215.1 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.3589, allocations: 33.7 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3589, allocations: 128 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.359, allocations: 8 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.359, allocations: 11.98 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.359, allocations: 3.938 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3593, allocations: 51.81 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.3593, allocations: 12 kB / 1.064 GB, free: 15.5 MB / 0.8262 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.000131/0.3594, allocations: 129.8 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.3595, allocations: 11.91 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.3595, allocations: 8.5 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3595, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3595, allocations: 3.938 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3595, allocations: 3.984 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.36, allocations: 436.8 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.36, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.36, allocations: 4 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.36, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.36, allocations: 7.984 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.36, allocations: 0 / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.36, allocations: 0 / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.3603, allocations: 263.3 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.3604, allocations: 89.05 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3604, allocations: 7.984 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.3605, allocations: 8 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.3606, allocations: 23.84 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3606, allocations: 8 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.3607, allocations: 87.27 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3607, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000269/0.3609, allocations: 35.91 kB / 1.065 GB, free: 14.29 MB / 0.8262 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.0006471/0.3616, allocations: 0.8061 MB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.3619, allocations: 183.9 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3619, allocations: 0 / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.362, allocations: 79.91 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.3623, allocations: 24.73 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3642, allocations: 1.705 MB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.3645, allocations: 0.6926 MB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.861e-05/0.3645, allocations: 12.55 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.3646, allocations: 23.44 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3646, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.378, allocations: 2.447 MB / 1.071 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/0.3783, allocations: 230.3 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.152, allocations: 0 / 1.071 GB, free: 8.086 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