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.001424/0.001424, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001588/0.001588, allocations: 219.7 kB / 23.01 MB, free: 5.004 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.969 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 0.9951/0.9951, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.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.00201/0.00201, allocations: 66.58 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1857, allocations: 89.17 MB / 0.7284 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001928/0.1876, allocations: 0.6513 MB / 0.729 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1892, allocations: 1.19 MB / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.1892, allocations: 0 / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.1893, allocations: 3.938 kB / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.435e-05/0.1894, allocations: 7.875 kB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.1899, allocations: 153 kB / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1901, allocations: 147.7 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.1902, allocations: 11.98 kB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1903, allocations: 55.91 kB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1905, allocations: 51.86 kB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.1905, allocations: 16 kB / 0.7306 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.1906, allocations: 27.98 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.1906, allocations: 23.91 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.975e-05/0.1907, allocations: 47.91 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.1909, allocations: 131.9 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.191, allocations: 7.922 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.191, allocations: 4 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.191, allocations: 0 / 0.7308 GB, free: 14.75 MB / 0.5606 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.0006035/0.1916, allocations: 347.8 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1916, allocations: 8.031 kB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.1916, allocations: 38.75 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1917, allocations: 8.922 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.1921, allocations: 150.6 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1921, allocations: 8.375 kB / 0.7314 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.1921, allocations: 16.36 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1923, allocations: 93.81 kB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1923, allocations: 0 / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1923, allocations: 7.984 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1923, allocations: 0 / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.1924, allocations: 39.97 kB / 0.7315 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.193, allocations: 327.8 kB / 0.7318 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1932, allocations: 82.48 kB / 0.7319 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.1932, allocations: 28.84 kB / 0.7319 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.1933, allocations: 0 / 0.7319 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.1936, allocations: 135.2 kB / 0.7321 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.1936, allocations: 0 / 0.7321 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004344/0.194, allocations: 208.1 kB / 0.7323 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.194, allocations: 59.55 kB / 0.7323 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.1941, allocations: 109.8 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.1942, allocations: 33.7 kB / 0.7324 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.1942, allocations: 92.08 kB / 0.7325 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1943, allocations: 23.86 kB / 0.7326 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.1944, allocations: 53.69 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1945, allocations: 322.8 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1946, allocations: 43.98 kB / 0.733 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.1948, allocations: 92.2 kB / 0.733 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.195, allocations: 141.9 kB / 0.7332 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.195, allocations: 4 kB / 0.7332 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003458/0.1953, allocations: 208.5 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.1954, allocations: 33.7 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1954, allocations: 0 / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1954, allocations: 4 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.1955, allocations: 20.05 kB / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1955, allocations: 320 / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.1956, allocations: 35.91 kB / 0.7335 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.1957, allocations: 11.98 kB / 0.7335 GB, free: 11.77 MB / 0.5606 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.0001187/0.1958, allocations: 131.7 kB / 0.7336 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.1958, allocations: 7.953 kB / 0.7336 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.1958, allocations: 24.36 kB / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1958, allocations: 0 / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.1959, allocations: 0 / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1959, allocations: 0 / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.1963, allocations: 401.5 kB / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1963, allocations: 3.938 kB / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1963, allocations: 7.938 kB / 0.734 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1963, allocations: 4 kB / 0.734 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1964, allocations: 7.984 kB / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1964, allocations: 0 / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1964, allocations: 7.984 kB / 0.7341 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.1967, allocations: 258.3 kB / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.1967, allocations: 11.89 kB / 0.7343 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.1967, allocations: 11.98 kB / 0.7343 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.1968, allocations: 4 kB / 0.7343 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1968, allocations: 15.91 kB / 0.7343 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.1969, allocations: 11.98 kB / 0.7344 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.1969, allocations: 91.28 kB / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1969, allocations: 0 / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002713/0.1972, allocations: 35.98 kB / 0.7345 GB, free: 10.69 MB / 0.5606 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.0006584/0.1978, allocations: 0.799 MB / 0.7353 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.1982, allocations: 175.3 kB / 0.7354 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1982, allocations: 0 / 0.7354 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.1982, allocations: 51.91 kB / 0.7355 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1985, allocations: 19.92 kB / 0.7355 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.2005, allocations: 1.715 MB / 0.7372 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2009, allocations: 0.6923 MB / 0.7378 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.2009, allocations: 16.48 kB / 0.7379 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.201, allocations: 23.42 kB / 0.7379 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.201, allocations: 0 / 0.7379 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.2322, allocations: 2.934 MB / 0.7407 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.29, allocations: 5.688 kB / 0.7407 GB, free: 4.234 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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: 15.176770064979792] Failed to read output from testmodel.py, exit status != 0: 11.399366856087 11.423430586 11.229188057 Calling exit ...