Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001413/0.001413, allocations: 111.7 kB / 17.12 MB, free: 5.945 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.001674/0.001674, allocations: 208 kB / 20.09 MB, free: 2.996 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.037/1.037, allocations: 150 MB / 459.5 MB, free: 5.289 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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [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.002308/0.002308, allocations: 76.78 kB / 0.6366 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2038, allocations: 89.13 MB / 0.7236 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002615/0.2064, allocations: 0.7403 MB / 0.7244 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2084, allocations: 1.114 MB / 0.7255 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.2085, allocations: 0 / 0.7255 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.2085, allocations: 3.938 kB / 0.7255 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.2086, allocations: 11.88 kB / 0.7255 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.2091, allocations: 59.81 kB / 0.7255 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.2093, allocations: 67.84 kB / 0.7256 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2094, allocations: 16.11 kB / 0.7256 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2095, allocations: 31.91 kB / 0.7256 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.2096, allocations: 31.84 kB / 0.7257 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.2096, allocations: 8 kB / 0.7257 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-05/0.2097, allocations: 19.98 kB / 0.7257 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.2097, allocations: 11.98 kB / 0.7257 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.087e-05/0.2098, allocations: 35.73 kB / 0.7257 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.21, allocations: 83.67 kB / 0.7258 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.21, allocations: 4 kB / 0.7258 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.953e-06/0.21, allocations: 0 / 0.7258 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.21, allocations: 0 / 0.7258 GB, free: 1.27 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.0007498/0.2108, allocations: 387.1 kB / 0.7262 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2108, allocations: 8.031 kB / 0.7262 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.2109, allocations: 4.938 kB / 0.7262 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.2111, allocations: 176.3 kB / 0.7264 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.2111, allocations: 8.375 kB / 0.7264 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.2111, allocations: 4.375 kB / 0.7264 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.2113, allocations: 70.17 kB / 0.7264 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2113, allocations: 3.938 kB / 0.7265 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2114, allocations: 3.984 kB / 0.7265 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2114, allocations: 0 / 0.7265 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.2116, allocations: 39.97 kB / 0.7265 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007539/0.2123, allocations: 332.6 kB / 0.7268 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.2125, allocations: 50.55 kB / 0.7269 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2126, allocations: 24.97 kB / 0.7269 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.2126, allocations: 4 kB / 0.7269 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.2129, allocations: 87.39 kB / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2129, allocations: 0 / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004944/0.2134, allocations: 129.6 kB / 0.7271 GB, free: 15.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.2135, allocations: 51.41 kB / 0.7271 GB, free: 15.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2136, allocations: 125.8 kB / 0.7273 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.2136, allocations: 29.7 kB / 0.7273 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.2137, allocations: 92.09 kB / 0.7274 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.2138, allocations: 27.81 kB / 0.7274 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.2138, allocations: 25.72 kB / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.214, allocations: 322.8 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2141, allocations: 31.97 kB / 0.7278 GB, free: 15.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.2143, allocations: 77.92 kB / 0.7278 GB, free: 14.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.2145, allocations: 105.9 kB / 0.7279 GB, free: 14.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2145, allocations: 0 / 0.7279 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003625/0.2149, allocations: 133.4 kB / 0.7281 GB, free: 14.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2149, allocations: 13.78 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2149, allocations: 0 / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.215, allocations: 4 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2151, allocations: 19.98 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2151, allocations: 3.984 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.2152, allocations: 15.89 kB / 0.7281 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2152, allocations: 4 kB / 0.7281 GB, free: 14.64 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001967/0.2154, allocations: 125.7 kB / 0.7282 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.2154, allocations: 12 kB / 0.7283 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.2155, allocations: 8.312 kB / 0.7283 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2155, allocations: 4 kB / 0.7283 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2155, allocations: 0 / 0.7283 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2155, allocations: 0 / 0.7283 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.2161, allocations: 374.7 kB / 0.7286 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2161, allocations: 0 / 0.7286 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.2161, allocations: 11.98 kB / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2161, allocations: 4 kB / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2162, allocations: 0 / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.2162, allocations: 7.938 kB / 0.7287 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2162, allocations: 0 / 0.7287 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.2165, allocations: 203.5 kB / 0.7288 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.2166, allocations: 89 kB / 0.7289 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.2166, allocations: 4 kB / 0.7289 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.2167, allocations: 15.86 kB / 0.729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.2167, allocations: 4 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2168, allocations: 4 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.887e-05/0.2168, allocations: 94.98 kB / 0.729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2168, allocations: 0 / 0.729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002828/0.2171, allocations: 23.94 kB / 0.7291 GB, free: 13.57 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002208/0.2173, allocations: 103.2 kB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.2177, allocations: 71.89 kB / 0.7292 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2177, allocations: 4 kB / 0.7292 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.2178, allocations: 31.91 kB / 0.7293 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.2181, allocations: 20.42 kB / 0.7293 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.2186, allocations: 158 kB / 0.7294 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.219, allocations: 0.6885 MB / 0.7301 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.069e-05/0.219, allocations: 7.984 kB / 0.7301 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.219, allocations: 11.44 kB / 0.7301 GB, free: 12.41 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.219, allocations: 0 / 0.7301 GB, free: 12.41 MB / 0.545 GB Notification: Performance of Templates: time 0.004398/0.2234, allocations: 0.9742 MB / 0.7311 GB, free: 11.47 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.343535172054544] Failed to read output from testmodel.py, exit status != 0: 0.23261814005672932 0.24767528999999996 0.034633080000000004 Calling exit ...