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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001125/0.001125, 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.00131/0.00131, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.492/2.492, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 68.41 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002218/0.3379, allocations: 0.737 MB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3394, allocations: 1.17 MB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.3395, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.3396, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.3396, allocations: 7.938 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.3402, allocations: 130.8 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3404, allocations: 147.8 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3405, allocations: 15.98 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3407, allocations: 59.89 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.791e-05/0.3408, allocations: 43.88 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.3408, allocations: 12 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.3409, allocations: 27.98 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.3409, allocations: 23.91 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.341, allocations: 55.84 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.3412, allocations: 131.8 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3412, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3413, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3413, allocations: 4 kB / 1.055 GB, free: 6.062 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.000614/0.3419, allocations: 413.1 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3419, allocations: 12.62 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.342, allocations: 38.73 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.342, allocations: 12.84 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.3425, allocations: 200.5 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.3425, allocations: 16.36 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.3425, allocations: 12.38 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3427, allocations: 89.88 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3427, allocations: 0 / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3427, allocations: 0 / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3427, allocations: 4 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.3428, allocations: 39.97 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.3434, allocations: 372.5 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.3436, allocations: 98.42 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.3437, allocations: 40.84 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.3437, allocations: 0 / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.3439, allocations: 131.5 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.344, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0003766/0.3443, allocations: 205.5 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3444, allocations: 55.41 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/0.3445, allocations: 109.8 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.3445, allocations: 33.7 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.3446, allocations: 88.05 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3446, allocations: 27.7 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/0.3447, allocations: 53.69 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3448, allocations: 322.8 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3449, allocations: 43.97 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.3451, allocations: 85.81 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.3452, allocations: 148.5 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3453, allocations: 0 / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003252/0.3456, allocations: 207.2 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.3456, allocations: 37.7 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3456, allocations: 0 / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3457, allocations: 4 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.3457, allocations: 20.05 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3458, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.3459, allocations: 39.81 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.346, allocations: 8 kB / 1.058 GB, free: 2.867 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.0001076/0.3461, allocations: 133.7 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.3461, allocations: 7.906 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.3462, allocations: 16.5 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3462, allocations: 3.938 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3462, allocations: 3.984 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3462, allocations: 3.984 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.3466, allocations: 422.5 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3466, allocations: 0 / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.3466, allocations: 7.938 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3466, allocations: 4 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3467, allocations: 4 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3467, allocations: 7.984 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3467, allocations: 0 / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.3469, allocations: 266.7 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.347, allocations: 84.95 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.347, allocations: 7.984 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.3471, allocations: 12 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.3471, allocations: 19.84 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3472, allocations: 16 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.3472, allocations: 87.56 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3472, allocations: 3.938 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002695/0.3475, allocations: 32 kB / 1.059 GB, free: 1.648 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.0005674/0.3481, allocations: 0.7983 MB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.3484, allocations: 203.2 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3484, allocations: 0 / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3485, allocations: 71.97 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.3488, allocations: 24.19 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3505, allocations: 1.697 MB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.3507, allocations: 0.6962 MB / 1.062 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.581e-05/0.3508, allocations: 8.547 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.3508, allocations: 27.42 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3509, allocations: 0 / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.254/1.605, allocations: 2.62 MB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/1.605, allocations: 230.8 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/3.482, allocations: 0 / 1.065 GB, free: 11.25 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