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.001791/0.001791, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001752/0.001752, allocations: 211.6 kB / 22.99 MB, free: 4.605 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.007/1.007, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 178] 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.002104/0.002104, allocations: 69.05 kB / 0.6416 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2193, allocations: 89.16 MB / 0.7286 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002175/0.2215, allocations: 0.7284 MB / 0.7293 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.2231, allocations: 1.093 MB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.2231, allocations: 4 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.2232, allocations: 3.938 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.2233, allocations: 11.86 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.2236, allocations: 55.83 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.2237, allocations: 67.84 kB / 0.7306 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2238, allocations: 12.17 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.487e-05/0.2239, allocations: 35.84 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.224, allocations: 27.91 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.224, allocations: 8 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/0.2241, allocations: 15.98 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.2241, allocations: 19.91 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.2241, allocations: 23.88 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.2243, allocations: 83.61 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2243, allocations: 0 / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2243, allocations: 4 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2243, allocations: 0 / 0.7308 GB, free: 14.33 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.0005387/0.2249, allocations: 306 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2249, allocations: 12.03 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.2249, allocations: 4.891 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.225, allocations: 114.5 kB / 0.7312 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2251, allocations: 4.359 kB / 0.7312 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.2251, allocations: 8.375 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2253, allocations: 66.17 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2253, allocations: 7.938 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.2253, allocations: 0 / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2253, allocations: 4 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.2255, allocations: 43.95 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.2261, allocations: 260.3 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.2263, allocations: 50.55 kB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.419e-05/0.2264, allocations: 32.97 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.2264, allocations: 11.86 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.2266, allocations: 75.38 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.2266, allocations: 0 / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004258/0.227, allocations: 133.6 kB / 0.7319 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.2271, allocations: 51.41 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2272, allocations: 133.1 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2272, allocations: 25.7 kB / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.2273, allocations: 96.08 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.2273, allocations: 19.89 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.2274, allocations: 29.7 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2275, allocations: 314.8 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2276, allocations: 35.97 kB / 0.7325 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2278, allocations: 69.98 kB / 0.7326 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.228, allocations: 113.8 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.228, allocations: 0 / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002995/0.2283, allocations: 129.5 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2283, allocations: 4 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2283, allocations: 4.312 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2284, allocations: 0 / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2285, allocations: 31.91 kB / 0.7329 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2285, allocations: 4 kB / 0.7329 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.529e-05/0.2286, allocations: 7.938 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.2286, allocations: 16.19 kB / 0.7329 GB, free: 11.95 MB / 0.5606 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.0001194/0.2287, allocations: 131.3 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.2287, allocations: 11.95 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2288, allocations: 4.375 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2288, allocations: 3.938 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2288, allocations: 0 / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2288, allocations: 4 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.2292, allocations: 314 kB / 0.7333 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2292, allocations: 0 / 0.7333 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.2293, allocations: 15.98 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2293, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2293, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2293, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2293, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.2296, allocations: 211.4 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.2296, allocations: 7.953 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2296, allocations: 0 / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.2297, allocations: 11.98 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.2298, allocations: 7.984 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2298, allocations: 3.938 kB / 0.7336 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.2298, allocations: 103.1 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2298, allocations: 0 / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002563/0.2301, allocations: 19.94 kB / 0.7337 GB, free: 11.05 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: 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.0001551/0.2303, allocations: 95.25 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.2305, allocations: 83.94 kB / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2305, allocations: 0 / 0.7339 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.2307, allocations: 35.91 kB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.2309, allocations: 11.06 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.2314, allocations: 158.1 kB / 0.7341 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2315, allocations: 79.64 kB / 0.7341 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.2316, allocations: 8 kB / 0.7342 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.2316, allocations: 15.42 kB / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/0.2316, allocations: 0 / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.00414/0.2357, allocations: 1.059 MB / 0.7352 GB, free: 9.512 MB / 0.5606 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.031032828614116] Failed to read output from testmodel.py, exit status != 0: 0.2450065203011036 0.259800884 0.032426591000000005 Calling exit ...