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.001077/0.001077, allocations: 84.22 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001332/0.001332, allocations: 169 kB / 24.25 MB, free: 304 kB / 18.57 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.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 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.6403/0.6403, allocations: 115 MB / 376 MB, free: 7.637 MB / 346.7 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.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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.275e-05, allocations: 7 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001316/0.001338, allocations: 0.7417 MB / 482.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.002369, allocations: 1.118 MB / 483.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.002415, allocations: 5.719 kB / 483.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.002443, allocations: 5.688 kB / 483.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.002513, allocations: 12.5 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.002793, allocations: 52.47 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.002889, allocations: 73.73 kB / 483.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.002986, allocations: 17.33 kB / 483.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.003067, allocations: 45.59 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.003112, allocations: 23.94 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.00313, allocations: 6.969 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.003181, allocations: 14.62 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.003201, allocations: 18.14 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.003231, allocations: 21.61 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.00335, allocations: 67.38 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003352, allocations: 0.7812 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.003353, allocations: 0 / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.003358, allocations: 0 / 483.7 MB, free: 10.48 MB / 410.7 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.0003358/0.003693, allocations: 404.5 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.003729, allocations: 11 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.003771, allocations: 9.594 kB / 484.2 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.249e-05/0.003834, allocations: 113 kB / 484.3 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.003844, allocations: 8.5 kB / 484.3 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.003858, allocations: 8.172 kB / 484.3 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.003964, allocations: 64.39 kB / 484.3 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.00397, allocations: 1.938 kB / 484.3 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.003979, allocations: 384 / 484.4 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.003987, allocations: 6.188 kB / 484.4 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.004019, allocations: 22.84 kB / 484.4 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.004367, allocations: 300.5 kB / 484.7 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.914e-05/0.004446, allocations: 48.25 kB / 484.7 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.004471, allocations: 18.41 kB / 484.7 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.004489, allocations: 4.812 kB / 484.7 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/0.004556, allocations: 64.64 kB / 484.8 MB, free: 9.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.004557, allocations: 1.906 kB / 484.8 MB, free: 9.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001647/0.004722, allocations: 85.59 kB / 484.9 MB, free: 9.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.004747, allocations: 53.06 kB / 484.9 MB, free: 9.367 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.004964, allocations: 185.1 kB / 485.1 MB, free: 25.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.004973, allocations: 33.27 kB / 485.2 MB, free: 25.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.005015, allocations: 134.6 kB / 485.3 MB, free: 25.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.005029, allocations: 9.844 kB / 485.3 MB, free: 25.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.005065, allocations: 37.55 kB / 485.3 MB, free: 24.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.005169, allocations: 0.4887 MB / 485.8 MB, free: 24.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.005196, allocations: 9.703 kB / 485.8 MB, free: 24.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.005237, allocations: 73.39 kB / 485.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.112e-05/0.005308, allocations: 97.59 kB / 486 MB, free: 24.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.005311, allocations: 1.125 kB / 486 MB, free: 24.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001167/0.005428, allocations: 99.41 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.005442, allocations: 6.625 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.005447, allocations: 1.5 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.005459, allocations: 4.062 kB / 486.1 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.005555, allocations: 24.56 kB / 486.1 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.005561, allocations: 2.438 kB / 486.1 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.005597, allocations: 16.39 kB / 486.2 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.005607, allocations: 12.36 kB / 486.2 MB, free: 24.22 MB / 426.7 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 6.806e-05/0.005675, allocations: 162.2 kB / 486.3 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.005686, allocations: 16.58 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.005708, allocations: 10.28 kB / 486.3 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.005711, allocations: 1.094 kB / 486.3 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.005715, allocations: 0 / 486.3 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.005719, allocations: 6.109 kB / 486.4 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.005933, allocations: 340.5 kB / 486.7 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.005935, allocations: 0 / 486.7 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.005959, allocations: 14.06 kB / 486.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.005961, allocations: 0.9688 kB / 486.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.005969, allocations: 1 kB / 486.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00597, allocations: 0 / 486.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.005972, allocations: 3.438 kB / 486.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.00609, allocations: 226.9 kB / 486.9 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.006098, allocations: 11.27 kB / 486.9 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.006111, allocations: 8.547 kB / 486.9 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.006145, allocations: 2.375 kB / 486.9 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.006178, allocations: 5.547 kB / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.006184, allocations: 2.25 kB / 487 MB, free: 23.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.662e-05/0.006231, allocations: 138.9 kB / 487.1 MB, free: 23.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006231, allocations: 0 / 487.1 MB, free: 23.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.006408, allocations: 22.44 kB / 487.1 MB, free: 23.37 MB / 426.7 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.0001046/0.006512, allocations: 103 kB / 487.2 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.006619, allocations: 48.97 kB / 487.3 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.00662, allocations: 0 / 487.3 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.006655, allocations: 23.19 kB / 487.3 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.006839, allocations: 14.75 kB / 487.3 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.007096, allocations: 166 kB / 487.5 MB, free: 23.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.45e-05/0.007141, allocations: 61.17 kB / 487.5 MB, free: 23.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.59e-05/0.007167, allocations: 9.281 kB / 487.5 MB, free: 23.03 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.007189, allocations: 12.09 kB / 487.5 MB, free: 23.02 MB / 426.7 MB Notification: Performance of SimCode: time 8.31e-07/0.00719, allocations: 5.094 kB / 487.5 MB, free: 23.02 MB / 426.7 MB Notification: Performance of Templates: time 0.002641/0.009831, allocations: 1.044 MB / 488.6 MB, free: 22.95 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.587388332001865]