Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 109.1 kB / 17.12 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 205 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.609/1.609, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.07/1.07, allocations: 150 MB / 459.5 MB, free: 5.285 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 69.5 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1822, allocations: 89.13 MB / 0.7232 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002118/0.1843, allocations: 0.6535 MB / 0.7238 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1862, allocations: 1.204 MB / 0.725 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.1863, allocations: 0 / 0.725 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.1863, allocations: 7.922 kB / 0.725 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1865, allocations: 11.92 kB / 0.725 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.1871, allocations: 146.7 kB / 0.7251 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.1874, allocations: 139.7 kB / 0.7253 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1875, allocations: 8 kB / 0.7253 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1876, allocations: 63.88 kB / 0.7253 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1878, allocations: 47.88 kB / 0.7254 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.262e-05/0.1878, allocations: 12 kB / 0.7254 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1879, allocations: 31.97 kB / 0.7254 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.188, allocations: 19.92 kB / 0.7254 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1881, allocations: 55.83 kB / 0.7255 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1884, allocations: 123.9 kB / 0.7256 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1884, allocations: 4 kB / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1884, allocations: 0 / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1884, allocations: 0 / 0.7256 GB, free: 1.523 MB / 0.5294 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.0008829/0.1893, allocations: 424.9 kB / 0.726 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1893, allocations: 11.97 kB / 0.726 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.747e-05/0.1894, allocations: 46.67 kB / 0.7261 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.1894, allocations: 4.938 kB / 0.7261 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006043/0.1901, allocations: 212.5 kB / 0.7263 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.1901, allocations: 4.375 kB / 0.7263 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.1901, allocations: 12.38 kB / 0.7263 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1904, allocations: 93.88 kB / 0.7264 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1904, allocations: 0 / 0.7264 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.1904, allocations: 4 kB / 0.7264 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1904, allocations: 0 / 0.7264 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1906, allocations: 39.97 kB / 0.7264 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.1914, allocations: 360.6 kB / 0.7268 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1917, allocations: 86.58 kB / 0.7269 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1918, allocations: 28.84 kB / 0.7269 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.1918, allocations: 3.938 kB / 0.7269 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004076/0.1922, allocations: 127.3 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.1922, allocations: 0 / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0006241/0.1928, allocations: 212.3 kB / 0.7272 GB, free: 15.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.1929, allocations: 55.41 kB / 0.7273 GB, free: 15.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.193, allocations: 109.8 kB / 0.7274 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.1931, allocations: 33.7 kB / 0.7274 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.1932, allocations: 92.08 kB / 0.7275 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.1932, allocations: 31.95 kB / 0.7275 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.1934, allocations: 49.69 kB / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1935, allocations: 318.8 kB / 0.7279 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1937, allocations: 55.97 kB / 0.7279 GB, free: 14.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.1939, allocations: 85.81 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.1942, allocations: 137.9 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1942, allocations: 0 / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005731/0.1948, allocations: 217.6 kB / 0.7284 GB, free: 14.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.1948, allocations: 33.7 kB / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1948, allocations: 0 / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1949, allocations: 4 kB / 0.7284 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.195, allocations: 15.92 kB / 0.7284 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.195, allocations: 0 / 0.7284 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.1953, allocations: 40.03 kB / 0.7284 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.1953, allocations: 11.98 kB / 0.7285 GB, free: 14.33 MB / 0.545 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.0001976/0.1955, allocations: 129.8 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.1955, allocations: 11.89 kB / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.1956, allocations: 8.5 kB / 0.7286 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1956, allocations: 7.984 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1956, allocations: 4 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1956, allocations: 4 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.1961, allocations: 430.4 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1961, allocations: 0 / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.1961, allocations: 4 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1961, allocations: 0 / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.1962, allocations: 15.92 kB / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1962, allocations: 0 / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1962, allocations: 0 / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.1965, allocations: 259.4 kB / 0.7293 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.1965, allocations: 89 kB / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.1966, allocations: 11.98 kB / 0.7294 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.1967, allocations: 0 / 0.7294 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1967, allocations: 19.91 kB / 0.7294 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1967, allocations: 8 kB / 0.7294 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.018e-05/0.1968, allocations: 95.2 kB / 0.7295 GB, free: 13.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1968, allocations: 0 / 0.7295 GB, free: 13.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002895/0.1971, allocations: 32 kB / 0.7295 GB, free: 13.12 MB / 0.545 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.0007538/0.1978, allocations: 0.8084 MB / 0.7303 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1982, allocations: 163.3 kB / 0.7305 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1982, allocations: 3.938 kB / 0.7305 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.1983, allocations: 56.16 kB / 0.7305 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1986, allocations: 19.92 kB / 0.7306 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.2007, allocations: 1.725 MB / 0.7322 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.2012, allocations: 0.6846 MB / 0.7329 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.2012, allocations: 12.55 kB / 0.7329 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.2013, allocations: 23.42 kB / 0.7329 GB, free: 9.461 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2013, allocations: 0 / 0.7329 GB, free: 9.461 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.2278, allocations: 2.796 MB / 0.7357 GB, free: 6.812 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.267, allocations: 10.03 kB / 0.7357 GB, free: 6.805 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.442377783125266] Failed to read output from testmodel.py, exit status != 0: 8.33890377706848 8.367629144 8.17398699 Calling exit ...