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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008053/0.008059, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.00168/0.00168, allocations: 192.8 kB / 16.68 MB, free: 5.934 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 69.08 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3117, allocations: 162.2 MB / 1.241 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001837/0.3136, allocations: 0.6683 MB / 1.242 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3151, allocations: 1.16 MB / 1.243 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.3152, allocations: 0 / 1.243 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.3152, allocations: 3.938 kB / 1.243 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.3153, allocations: 7.938 kB / 1.243 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.3158, allocations: 151 kB / 1.243 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.316, allocations: 143.7 kB / 1.244 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.3161, allocations: 9.406 kB / 1.244 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.3162, allocations: 59.88 kB / 1.244 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3163, allocations: 63.8 kB / 1.244 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.3164, allocations: 12 kB / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.097e-05/0.3164, allocations: 27.98 kB / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.3165, allocations: 15.98 kB / 1.244 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.3166, allocations: 51.83 kB / 1.244 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3168, allocations: 131.9 kB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3168, allocations: 0 / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3168, allocations: 0 / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3168, allocations: 0 / 1.244 GB, free: 6.805 MB / 0.9669 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.0006742/0.3175, allocations: 428.9 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3175, allocations: 12.03 kB / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.3176, allocations: 34.73 kB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.3176, allocations: 12.89 kB / 1.244 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.318, allocations: 208.4 kB / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3181, allocations: 8.375 kB / 1.245 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.3181, allocations: 12.38 kB / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3183, allocations: 93.94 kB / 1.245 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3183, allocations: 0 / 1.245 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3183, allocations: 0 / 1.245 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.3184, allocations: 3.984 kB / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.3185, allocations: 39.91 kB / 1.245 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.3191, allocations: 368.6 kB / 1.245 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3193, allocations: 94.55 kB / 1.245 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/0.3193, allocations: 44.88 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.3194, allocations: 3.938 kB / 1.245 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.3196, allocations: 131.3 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.3196, allocations: 0 / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004073/0.3201, allocations: 201.6 kB / 1.246 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3201, allocations: 59.34 kB / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3202, allocations: 113.8 kB / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.3203, allocations: 33.7 kB / 1.246 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.3203, allocations: 96.06 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3204, allocations: 27.95 kB / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.3205, allocations: 49.69 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3206, allocations: 322.8 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3208, allocations: 51.97 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.3209, allocations: 84.25 kB / 1.246 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3211, allocations: 145.5 kB / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3211, allocations: 0 / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003669/0.3215, allocations: 207.2 kB / 1.247 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.3215, allocations: 33.7 kB / 1.247 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3215, allocations: 0 / 1.247 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3216, allocations: 4 kB / 1.247 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.3216, allocations: 15.92 kB / 1.247 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3216, allocations: 0 / 1.247 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.3219, allocations: 43.98 kB / 1.247 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3219, allocations: 11.98 kB / 1.247 GB, free: 3.582 MB / 0.9669 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.0001189/0.322, allocations: 125.8 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.322, allocations: 7.953 kB / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.3221, allocations: 12.48 kB / 1.247 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3221, allocations: 4 kB / 1.247 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3221, allocations: 0 / 1.247 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3221, allocations: 4 kB / 1.247 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.3226, allocations: 434.4 kB / 1.247 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3226, allocations: 0 / 1.247 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.3227, allocations: 8 kB / 1.247 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3227, allocations: 0 / 1.247 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3227, allocations: 7.984 kB / 1.247 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3227, allocations: 0 / 1.247 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3227, allocations: 3.938 kB / 1.247 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.3231, allocations: 263.3 kB / 1.248 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.3232, allocations: 89 kB / 1.248 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.3232, allocations: 7.984 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.3233, allocations: 4 kB / 1.248 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.3234, allocations: 19.91 kB / 1.248 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3234, allocations: 8 kB / 1.248 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.3234, allocations: 95.2 kB / 1.248 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3235, allocations: 0 / 1.248 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002771/0.3237, allocations: 32 kB / 1.248 GB, free: 2.375 MB / 0.9669 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.0006813/0.3244, allocations: 0.8163 MB / 1.249 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.3248, allocations: 183.3 kB / 1.249 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3248, allocations: 0 / 1.249 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.3249, allocations: 76.16 kB / 1.249 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3252, allocations: 21.95 kB / 1.249 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.3273, allocations: 1.712 MB / 1.251 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3277, allocations: 0.6885 MB / 1.251 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.3277, allocations: 8.547 kB / 1.251 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/0.3278, allocations: 23.42 kB / 1.251 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3278, allocations: 0 / 1.251 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.3515, allocations: 2.778 MB / 1.254 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.247, allocations: 21.31 kB / 1.254 GB, free: 12.04 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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.csv","/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) Reference file matches