Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001846/0.001846, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002219/0.002219, allocations: 216.8 kB / 22.99 MB, free: 4.977 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9879/0.9879, allocations: 149.9 MB / 463 MB, free: 10.33 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [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.002043/0.002043, allocations: 71.67 kB / 0.6416 GB, free: 9.625 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2255, allocations: 89.17 MB / 0.7286 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002284/0.2278, allocations: 0.7148 MB / 0.7293 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.2298, allocations: 1.085 MB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.2299, allocations: 3.938 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.682e-05/0.2299, allocations: 7.922 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.23, allocations: 11.88 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.2305, allocations: 51.89 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.2306, allocations: 83.64 kB / 0.7306 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2308, allocations: 16.17 kB / 0.7306 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2309, allocations: 27.92 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.2309, allocations: 27.84 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.231, allocations: 4 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.231, allocations: 23.97 kB / 0.7307 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.2311, allocations: 11.98 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.2311, allocations: 23.88 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.2313, allocations: 83.67 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2313, allocations: 4 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2313, allocations: 0 / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2314, allocations: 3.938 kB / 0.7308 GB, free: 14.32 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.0007372/0.2321, allocations: 304.3 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.2321, allocations: 8.031 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.2322, allocations: 8.891 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.2323, allocations: 118.4 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2324, allocations: 8.375 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.2324, allocations: 4.375 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.2326, allocations: 66.23 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2327, allocations: 11.86 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.2327, allocations: 7.984 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2327, allocations: 0 / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.2329, allocations: 35.97 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.2336, allocations: 264.3 kB / 0.7316 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2338, allocations: 58.58 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.234, allocations: 32.95 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.234, allocations: 0 / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.2342, allocations: 75.38 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.2342, allocations: 0 / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004717/0.2347, allocations: 133.5 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.2348, allocations: 63.39 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2349, allocations: 114.5 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.235, allocations: 29.7 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.2351, allocations: 100.1 kB / 0.7322 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.2351, allocations: 11.91 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.2352, allocations: 33.7 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002651/0.2354, allocations: 322.7 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.2355, allocations: 27.97 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.2357, allocations: 79.23 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.2359, allocations: 109.8 kB / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2359, allocations: 0 / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003091/0.2362, allocations: 133.5 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2363, allocations: 9.875 kB / 0.7328 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2363, allocations: 0 / 0.7328 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.2363, allocations: 7.984 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.2364, allocations: 19.92 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2364, allocations: 4 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.2365, allocations: 12.16 kB / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2365, allocations: 11.98 kB / 0.7329 GB, free: 11.93 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.0001096/0.2367, allocations: 117.8 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.2367, allocations: 7.953 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.2367, allocations: 12.38 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2367, allocations: 0 / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2367, allocations: 0 / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2367, allocations: 0 / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.2372, allocations: 322 kB / 0.7333 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2372, allocations: 4 kB / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.2372, allocations: 8 kB / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2372, allocations: 0 / 0.7334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.2372, allocations: 11.94 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2372, allocations: 3.984 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2372, allocations: 0 / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.2376, allocations: 199.4 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.2376, allocations: 3.953 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.2376, allocations: 11.98 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.2377, allocations: 4 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.2377, allocations: 7.984 kB / 0.7336 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.2378, allocations: 7.938 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.135e-05/0.2378, allocations: 91.92 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2378, allocations: 0 / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002599/0.2381, allocations: 15.94 kB / 0.7337 GB, free: 11.06 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.0001996/0.2383, allocations: 115.1 kB / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.2386, allocations: 75.89 kB / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2386, allocations: 0 / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.2387, allocations: 31.97 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.0003075/0.239, allocations: 18.44 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.0004873/0.2395, allocations: 162 kB / 0.7341 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2396, allocations: 83.7 kB / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.125e-05/0.2397, allocations: 7.984 kB / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.2397, allocations: 11.44 kB / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2397, allocations: 0 / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.004171/0.2439, allocations: 1.051 MB / 0.7352 GB, free: 9.508 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.149006264284253] Failed to read output from testmodel.py, exit status != 0: 0.2527563404291868 0.270227791 0.035458327000000005 Calling exit ...