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.001865/0.001865, allocations: 105 kB / 20.48 MB, free: 1.488 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.002425/0.002425, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.574/1.574, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.9809/0.9809, allocations: 150 MB / 464 MB, free: 10.47 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="cs",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.002291/0.002291, allocations: 62.23 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1997, allocations: 89.17 MB / 0.7291 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002349/0.2021, allocations: 0.6548 MB / 0.7298 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.2041, allocations: 1.186 MB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.2042, allocations: 4 kB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.2042, allocations: 7.922 kB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.2043, allocations: 15.86 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006916/0.205, allocations: 139.3 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.2053, allocations: 143.7 kB / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2055, allocations: 15.98 kB / 0.7312 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.2056, allocations: 51.91 kB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2058, allocations: 63.86 kB / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.2059, allocations: 12 kB / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.206, allocations: 23.98 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.206, allocations: 27.91 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2061, allocations: 47.84 kB / 0.7315 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.2064, allocations: 135.9 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.2064, allocations: 0 / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2064, allocations: 0 / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.2065, allocations: 0 / 0.7316 GB, free: 14.73 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.000813/0.2073, allocations: 355.7 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.2073, allocations: 12.03 kB / 0.7319 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.582e-05/0.2073, allocations: 192 / 0.7319 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.2074, allocations: 34.75 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.2074, allocations: 12.92 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.2079, allocations: 150.6 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.2079, allocations: 8.312 kB / 0.7321 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.2079, allocations: 12.38 kB / 0.7321 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.2081, allocations: 89.75 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2081, allocations: 0 / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.2081, allocations: 11.98 kB / 0.7322 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2081, allocations: 0 / 0.7322 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.2082, allocations: 39.91 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.2089, allocations: 323.7 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.2091, allocations: 82.55 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.2092, allocations: 32.84 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.2092, allocations: 0 / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/0.2095, allocations: 141 kB / 0.7328 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2095, allocations: 0 / 0.7328 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004571/0.21, allocations: 205.6 kB / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.21, allocations: 55.41 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2102, allocations: 109.8 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.2102, allocations: 33.7 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.2103, allocations: 96.08 kB / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.2103, allocations: 19.86 kB / 0.7333 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.2104, allocations: 49.69 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2106, allocations: 318.8 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2107, allocations: 59.91 kB / 0.7337 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.2109, allocations: 90.44 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.2111, allocations: 139.8 kB / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2111, allocations: 0 / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004374/0.2115, allocations: 215.2 kB / 0.7342 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.2116, allocations: 33.7 kB / 0.7342 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2116, allocations: 0 / 0.7342 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2116, allocations: 4 kB / 0.7342 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.2117, allocations: 11.98 kB / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.2117, allocations: 3.938 kB / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2119, allocations: 40.03 kB / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.2119, allocations: 11.98 kB / 0.7343 GB, free: 11.74 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.0001731/0.2121, allocations: 129.7 kB / 0.7344 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.2121, allocations: 11.89 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.2122, allocations: 12.42 kB / 0.7344 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2122, allocations: 4 kB / 0.7344 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2122, allocations: 4 kB / 0.7344 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2122, allocations: 0 / 0.7344 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.2127, allocations: 412 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2127, allocations: 0 / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.2127, allocations: 4 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2127, allocations: 4 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2127, allocations: 3.984 kB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2127, allocations: 0 / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2127, allocations: 3.938 kB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.2131, allocations: 259.4 kB / 0.7351 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.2131, allocations: 11.89 kB / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.2131, allocations: 11.98 kB / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.2132, allocations: 4 kB / 0.7351 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.2132, allocations: 19.91 kB / 0.7351 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.2133, allocations: 7.984 kB / 0.7351 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.2133, allocations: 87.28 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2133, allocations: 0 / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002882/0.2136, allocations: 39.98 kB / 0.7352 GB, free: 10.66 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.0007018/0.2143, allocations: 0.7983 MB / 0.736 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.2146, allocations: 173.5 kB / 0.7362 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.2146, allocations: 4.25 kB / 0.7362 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.2147, allocations: 47.97 kB / 0.7362 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.215, allocations: 24.95 kB / 0.7363 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.2171, allocations: 1.712 MB / 0.7379 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.2174, allocations: 0.6962 MB / 0.7386 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.278e-05/0.2174, allocations: 4.5 kB / 0.7386 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.2175, allocations: 19.42 kB / 0.7386 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2175, allocations: 7.938 kB / 0.7386 GB, free: 7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.2429, allocations: 2.975 MB / 0.7416 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.63, allocations: 6.641 kB / 0.7416 GB, free: 4.188 MB / 0.5606 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.639828043000307] Failed to read output from testmodel.py, exit status != 0: 11.788376794022042 11.808460253 11.595936303 Calling exit ...