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.001645/0.001645, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001606/0.001606, allocations: 215.6 kB / 23.78 MB, free: 4.555 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.021/1.021, allocations: 150 MB / 464 MB, free: 10.21 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.002063/0.002063, allocations: 66.23 kB / 0.642 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.216, allocations: 89.17 MB / 0.729 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002655/0.2187, allocations: 0.6395 MB / 0.7297 GB, free: 148 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.2207, allocations: 1.171 MB / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.2208, allocations: 0 / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.2208, allocations: 7.922 kB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.485e-05/0.2209, allocations: 11.92 kB / 0.7308 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006647/0.2216, allocations: 146.9 kB / 0.731 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.2219, allocations: 139.8 kB / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.222, allocations: 15.98 kB / 0.7311 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.2221, allocations: 63.83 kB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.2223, allocations: 51.81 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.2223, allocations: 16 kB / 0.7312 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.2224, allocations: 23.98 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.2224, allocations: 19.97 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.2225, allocations: 47.84 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.2228, allocations: 131.9 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2228, allocations: 0 / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2228, allocations: 4 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.2228, allocations: 0 / 0.7315 GB, free: 14.3 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.0007273/0.2235, allocations: 343.8 kB / 0.7318 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2236, allocations: 12.03 kB / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.472e-05/0.2236, allocations: 4.125 kB / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.2236, allocations: 42.73 kB / 0.7318 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.2237, allocations: 8.938 kB / 0.7319 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.2241, allocations: 150.6 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.2242, allocations: 12.36 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.2242, allocations: 16.38 kB / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.2244, allocations: 85.75 kB / 0.7321 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2244, allocations: 3.938 kB / 0.7321 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.2244, allocations: 4 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2245, allocations: 4 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.2246, allocations: 39.91 kB / 0.7322 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.2253, allocations: 303.8 kB / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.2255, allocations: 74.55 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.2255, allocations: 40.88 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2256, allocations: 0 / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.2259, allocations: 139.4 kB / 0.7327 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.2259, allocations: 0 / 0.7327 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005754/0.2265, allocations: 197.6 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.2266, allocations: 59.34 kB / 0.7329 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2267, allocations: 113.8 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.2268, allocations: 37.7 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2269, allocations: 96.08 kB / 0.7332 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.2269, allocations: 19.86 kB / 0.7332 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.227, allocations: 49.69 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.2273, allocations: 322.8 kB / 0.7335 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.2274, allocations: 77.67 kB / 0.7336 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.2276, allocations: 117.9 kB / 0.7337 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.2279, allocations: 141.7 kB / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2279, allocations: 4 kB / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004439/0.2283, allocations: 244.9 kB / 0.7341 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.2284, allocations: 33.7 kB / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2284, allocations: 4 kB / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.2284, allocations: 0 / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.2285, allocations: 15.92 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2285, allocations: 7.938 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.2287, allocations: 36.03 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.2288, allocations: 15.92 kB / 0.7342 GB, free: 11.21 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.0001474/0.2289, allocations: 127.8 kB / 0.7343 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.2289, allocations: 11.95 kB / 0.7343 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.229, allocations: 8.438 kB / 0.7344 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.229, allocations: 0 / 0.7344 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.229, allocations: 7.984 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.229, allocations: 0 / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.2295, allocations: 397.5 kB / 0.7347 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2295, allocations: 4 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.2295, allocations: 4 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2295, allocations: 0 / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.2296, allocations: 8 kB / 0.7348 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2296, allocations: 320 / 0.7348 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2296, allocations: 3.938 kB / 0.7348 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.2299, allocations: 263.4 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.2299, allocations: 15.89 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.23, allocations: 8 kB / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.23, allocations: 7.984 kB / 0.735 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.2301, allocations: 23.91 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.2301, allocations: 7.984 kB / 0.7351 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.2302, allocations: 95.25 kB / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2302, allocations: 0 / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002945/0.2305, allocations: 32 kB / 0.7352 GB, free: 10.14 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.0007557/0.2312, allocations: 0.8111 MB / 0.736 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.2316, allocations: 203.1 kB / 0.7362 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2316, allocations: 256 / 0.7362 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.2317, allocations: 55.92 kB / 0.7362 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.232, allocations: 21.8 kB / 0.7363 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.2344, allocations: 1.828 MB / 0.738 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.713e-05/0.2345, allocations: 79.31 kB / 0.7381 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.541e-05/0.2346, allocations: 16.48 kB / 0.7381 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.2346, allocations: 19.44 kB / 0.7381 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.2346, allocations: 0 / 0.7381 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.2611, allocations: 3.085 MB / 0.7412 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.55, allocations: 9.156 kB / 0.7412 GB, free: 4 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.518824659986421] Failed to read output from testmodel.py, exit status != 0: 11.71550378401298 11.73418815 11.507604587 Calling exit ...