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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005097/0.005097, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001347/0.001347, allocations: 201.2 kB / 16.68 MB, free: 5.965 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.901/2.901, allocations: 469.4 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3841, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.003457/0.3876, allocations: 0.6722 MB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.3903, allocations: 1.153 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.463e-05/0.3904, allocations: 0 / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.766e-05/0.3905, allocations: 3.938 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.3906, allocations: 11.88 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008487/0.3915, allocations: 147.2 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.3919, allocations: 143.7 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.392, allocations: 19.97 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.3923, allocations: 51.91 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.3926, allocations: 55.86 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.769e-05/0.3927, allocations: 12 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3928, allocations: 27.98 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.3929, allocations: 23.86 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.3931, allocations: 55.81 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.3935, allocations: 123.7 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.3935, allocations: 3.938 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3936, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3936, allocations: 4 kB / 1.222 GB, free: 12.15 MB / 0.9825 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.001126/0.3947, allocations: 424.9 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 8.021e-05/0.3948, allocations: 8.031 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.157e-05/0.3949, allocations: 34.75 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.395, allocations: 12.89 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/0.3957, allocations: 208.4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.3958, allocations: 16.31 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.3959, allocations: 16.36 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.3962, allocations: 85.95 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.3963, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.3963, allocations: 7.922 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3963, allocations: 0 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.3965, allocations: 35.97 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3977, allocations: 368.6 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.398, allocations: 90.53 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3982, allocations: 44.83 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3982, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000607/0.3988, allocations: 131.3 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 3.006e-06/0.3988, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007325/0.3996, allocations: 198.5 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.753e-05/0.3997, allocations: 59.41 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3998, allocations: 109.8 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.3999, allocations: 37.69 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.4001, allocations: 88.3 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.4001, allocations: 35.72 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.4003, allocations: 45.7 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002424/0.4005, allocations: 326.8 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.4007, allocations: 55.97 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.4009, allocations: 88.2 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.4013, allocations: 140.4 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4013, allocations: 0 / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005292/0.4018, allocations: 207.2 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.754e-05/0.4019, allocations: 37.69 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4019, allocations: 0 / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4019, allocations: 3.938 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.402, allocations: 8 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.4021, allocations: 8.125 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.4024, allocations: 43.84 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.4024, allocations: 11.94 kB / 1.225 GB, free: 8.938 MB / 0.9825 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.0001823/0.4026, allocations: 133.7 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.4027, allocations: 11.94 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.4027, allocations: 8.5 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4028, allocations: 8 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4028, allocations: 0 / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4028, allocations: 4 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.4034, allocations: 440.6 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4035, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.4035, allocations: 4 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4035, allocations: 0 / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.4036, allocations: 7.984 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4036, allocations: 0 / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4036, allocations: 0 / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.404, allocations: 263.3 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.4041, allocations: 89.05 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.4041, allocations: 4 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4043, allocations: 7.984 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.4043, allocations: 19.92 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.4044, allocations: 7.984 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.168e-05/0.4045, allocations: 91.58 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4045, allocations: 4 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005042/0.405, allocations: 31.98 kB / 1.226 GB, free: 7.723 MB / 0.9825 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.0009366/0.4059, allocations: 0.8099 MB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004915/0.4065, allocations: 189.7 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4065, allocations: 4.062 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.4066, allocations: 71.98 kB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.4071, allocations: 19.34 kB / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.4099, allocations: 1.711 MB / 1.229 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.4103, allocations: 0.6885 MB / 1.23 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.4104, allocations: 12.5 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.4105, allocations: 27.42 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.4105, allocations: 0 / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.4362, allocations: 2.769 MB / 1.232 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.23, allocations: 19.59 kB / 1.232 GB, free: 1.391 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 50 --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