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.009633/0.009633, allocations: 96.5 kB / 15.73 MB, free: 6.043 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.001325/0.001325, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.397/2.397, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 64.5 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3086, allocations: 140.4 MB / 1.088 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001898/0.3106, allocations: 0.6612 MB / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3124, allocations: 1.161 MB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.3125, allocations: 0 / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.3126, allocations: 7.922 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.3126, allocations: 3.938 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.3132, allocations: 143.4 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.3134, allocations: 151.8 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.3135, allocations: 12 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3136, allocations: 55.78 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3137, allocations: 55.84 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.3138, allocations: 20 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.3138, allocations: 31.98 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.3139, allocations: 19.92 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.314, allocations: 51.83 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3142, allocations: 123.9 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3142, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3142, allocations: 4 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3142, allocations: 0 / 1.09 GB, free: 15.49 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.0005958/0.3148, allocations: 424.9 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3149, allocations: 8.031 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.3149, allocations: 42.67 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.315, allocations: 12.89 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.3154, allocations: 208.5 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3155, allocations: 12.36 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.3155, allocations: 12.31 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3157, allocations: 89.94 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3157, allocations: 11.88 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3157, allocations: 4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3157, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.148e-05/0.3158, allocations: 35.97 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.3164, allocations: 360.6 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.3166, allocations: 94.58 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.3166, allocations: 44.84 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3167, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.3169, allocations: 123.3 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.3169, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0003733/0.3173, allocations: 209.5 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3174, allocations: 55.41 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.3175, allocations: 114.1 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.3175, allocations: 33.7 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.3176, allocations: 88.14 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.3176, allocations: 31.94 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/0.3177, allocations: 45.69 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3178, allocations: 322.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3179, allocations: 51.97 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3181, allocations: 84.27 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3182, allocations: 135.4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3183, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003315/0.3186, allocations: 211.2 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.3186, allocations: 35.11 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3187, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3187, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.3187, allocations: 19.86 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3188, allocations: 8.062 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.319, allocations: 39.98 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.319, allocations: 8 kB / 1.093 GB, free: 12.28 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.0001071/0.3191, allocations: 129.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.3191, allocations: 11.95 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.3192, allocations: 12.44 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3192, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3192, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3192, allocations: 7.984 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.3196, allocations: 438.3 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3197, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.3197, allocations: 8 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3197, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.3197, allocations: 7.984 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3197, allocations: 11.88 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3197, allocations: 0 / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.32, allocations: 259.4 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.3201, allocations: 85 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3201, allocations: 11.98 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.3202, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.3203, allocations: 19.91 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.3203, allocations: 8 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.3203, allocations: 87.27 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3203, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002818/0.3206, allocations: 32 kB / 1.094 GB, free: 11.07 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.0006685/0.3213, allocations: 0.8022 MB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.3216, allocations: 191.3 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3216, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3217, allocations: 75.91 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3221, allocations: 25.48 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.324, allocations: 1.705 MB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3243, allocations: 0.696 MB / 1.097 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.3244, allocations: 16.41 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.3244, allocations: 19.44 kB / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of SimCode: time 7.22e-07/0.3244, allocations: 0 / 1.097 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.3425, allocations: 2.779 MB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.281, allocations: 10.25 kB / 1.1 GB, free: 4.73 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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.csv","/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) Reference file matches