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.001303/0.001303, allocations: 76.39 kB / 19.93 MB, free: 1.773 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.001388/0.001388, allocations: 170.8 kB / 23.22 MB, free: 4.879 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.352/1.352, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] 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.8814/0.8814, allocations: 114 MB / 373.9 MB, free: 13.22 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.885e-05, allocations: 3.094 kB / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001949/0.001978, allocations: 0.7358 MB / 0.5554 GB, free: 1.895 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.003535, allocations: 1.092 MB / 0.5565 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.003584, allocations: 0 / 0.5565 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.003621, allocations: 3.938 kB / 0.5565 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.003695, allocations: 11.88 kB / 0.5565 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.004009, allocations: 63.25 kB / 0.5565 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.004139, allocations: 75.72 kB / 0.5566 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.004245, allocations: 16.16 kB / 0.5566 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.303e-05/0.004338, allocations: 35.97 kB / 0.5567 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.004409, allocations: 27.89 kB / 0.5567 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.00443, allocations: 8 kB / 0.5567 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.918e-05/0.004489, allocations: 16 kB / 0.5567 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.004515, allocations: 11.92 kB / 0.5567 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.004555, allocations: 23.97 kB / 0.5567 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004708, allocations: 79.73 kB / 0.5568 GB, free: 432 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00471, allocations: 0 / 0.5568 GB, free: 432 kB / 462.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004711, allocations: 4 kB / 0.5568 GB, free: 428 kB / 462.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.004719, allocations: 4 kB / 0.5568 GB, free: 424 kB / 462.1 MB 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.0005538/0.005273, allocations: 302 kB / 0.5571 GB, free: 92 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.00531, allocations: 16.02 kB / 0.5571 GB, free: 76 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.005346, allocations: 8.828 kB / 0.5571 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.005485, allocations: 121.7 kB / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.005495, allocations: 4.375 kB / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.005515, allocations: 4.375 kB / 0.5573 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.005744, allocations: 70.22 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.005753, allocations: 192 / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.005762, allocations: 4.312 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.005769, allocations: 8.125 kB / 0.5573 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.005953, allocations: 47.89 kB / 0.5574 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.006544, allocations: 252.4 kB / 0.5576 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.006714, allocations: 54.59 kB / 0.5577 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.006826, allocations: 32.95 kB / 0.5577 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.006844, allocations: 3.938 kB / 0.5577 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.007012, allocations: 75.38 kB / 0.5578 GB, free: 15.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/0.007015, allocations: 3.984 kB / 0.5578 GB, free: 15.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.00045/0.007465, allocations: 133.6 kB / 0.5579 GB, free: 15.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.007509, allocations: 59.34 kB / 0.558 GB, free: 15.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.007624, allocations: 129.2 kB / 0.5581 GB, free: 14.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.007654, allocations: 29.69 kB / 0.5581 GB, free: 14.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.00772, allocations: 88.14 kB / 0.5582 GB, free: 14.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.007743, allocations: 19.86 kB / 0.5582 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.0078, allocations: 29.7 kB / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.007953, allocations: 314.8 kB / 0.5586 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.008072, allocations: 27.98 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.008224, allocations: 81.91 kB / 0.5587 GB, free: 14.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.008482, allocations: 109.9 kB / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.008484, allocations: 0 / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003305/0.008814, allocations: 133.4 kB / 0.5589 GB, free: 14.08 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.008827, allocations: 4 kB / 0.5589 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.008833, allocations: 4 kB / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.008847, allocations: 0 / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.00897, allocations: 19.98 kB / 0.5589 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.008981, allocations: 7.938 kB / 0.5589 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-05/0.00907, allocations: 16.09 kB / 0.559 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.009085, allocations: 8 kB / 0.559 GB, free: 14.02 MB / 478.1 MB 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.0001129/0.009198, allocations: 124.8 kB / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.009216, allocations: 15.89 kB / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.009241, allocations: 8.422 kB / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.009242, allocations: 0 / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.009247, allocations: 0 / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.009249, allocations: 0 / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.009743, allocations: 318.1 kB / 0.5594 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009745, allocations: 4 kB / 0.5594 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.0098, allocations: 7.984 kB / 0.5594 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009802, allocations: 4 kB / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.009812, allocations: 4 kB / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009813, allocations: 0 / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.009814, allocations: 3.938 kB / 0.5594 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.01013, allocations: 207.3 kB / 0.5596 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.01015, allocations: 7.953 kB / 0.5596 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.01016, allocations: 8 kB / 0.5596 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.01025, allocations: 7.984 kB / 0.5596 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.01028, allocations: 0 / 0.5596 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.01029, allocations: 4 kB / 0.5597 GB, free: 13.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.399e-05/0.01035, allocations: 91.27 kB / 0.5597 GB, free: 13.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01035, allocations: 0 / 0.5597 GB, free: 13.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.01061, allocations: 27.88 kB / 0.5598 GB, free: 13.14 MB / 478.1 MB 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.000159/0.01077, allocations: 99.23 kB / 0.5599 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.01106, allocations: 83.81 kB / 0.5599 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01106, allocations: 0 / 0.5599 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.01118, allocations: 35.97 kB / 0.56 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.01145, allocations: 18.33 kB / 0.56 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.01181, allocations: 158.2 kB / 0.5601 GB, free: 12.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.07e-05/0.01188, allocations: 71.78 kB / 0.5602 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.01192, allocations: 7.984 kB / 0.5602 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.01195, allocations: 12.5 kB / 0.5602 GB, free: 12.61 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01195, allocations: 0 / 0.5602 GB, free: 12.61 MB / 478.1 MB Notification: Performance of Templates: time 0.003868/0.01582, allocations: 1.028 MB / 0.5612 GB, free: 11.64 MB / 478.1 MB " [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: 4.99563018605113] Failed to read output from testmodel.py, exit status != 0: 0.024279490113258362 0.038667446 0.030863609000000004 Calling exit ...