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.0007269/0.0007269, allocations: 84.44 kB / 20.7 MB, free: 3.867 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.0007423/0.0007423, allocations: 165.9 kB / 23.96 MB, free: 0.5977 MB / 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 0.8389/0.8389, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.576/0.576, allocations: 114 MB / 374.7 MB, free: 8.707 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 3.096e-06/3.096e-06, allocations: 4 kB / 0.5554 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/2.036e-05, allocations: 4.953 kB / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001137/0.001157, allocations: 0.7305 MB / 0.5562 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.002155, allocations: 1.085 MB / 0.5572 GB, free: 464 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.002198, allocations: 0 / 0.5572 GB, free: 464 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.002225, allocations: 3.938 kB / 0.5572 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.002295, allocations: 15.86 kB / 0.5572 GB, free: 444 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.002552, allocations: 59.69 kB / 0.5573 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.00264, allocations: 67.78 kB / 0.5574 GB, free: 316 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.002735, allocations: 16.17 kB / 0.5574 GB, free: 296 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.00281, allocations: 43.89 kB / 0.5574 GB, free: 252 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.183e-05/0.002852, allocations: 19.97 kB / 0.5574 GB, free: 232 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.002868, allocations: 8 kB / 0.5574 GB, free: 224 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.955e-05/0.002918, allocations: 23.98 kB / 0.5575 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.002937, allocations: 11.92 kB / 0.5575 GB, free: 188 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.002969, allocations: 27.91 kB / 0.5575 GB, free: 160 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.003089, allocations: 75.8 kB / 0.5576 GB, free: 84 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003091, allocations: 0 / 0.5576 GB, free: 84 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.263e-06/0.003092, allocations: 0 / 0.5576 GB, free: 84 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.003097, allocations: 7.938 kB / 0.5576 GB, free: 76 kB / 0.5105 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.0003842/0.003481, allocations: 302 kB / 0.5579 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.003514, allocations: 12.03 kB / 0.5579 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.003546, allocations: 8.875 kB / 0.5579 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.793e-05/0.003624, allocations: 121.7 kB / 0.558 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003634, allocations: 384 / 0.558 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.003647, allocations: 12.36 kB / 0.558 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.003774, allocations: 66.22 kB / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.003781, allocations: 192 / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.003791, allocations: 384 / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.003797, allocations: 8.125 kB / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.003886, allocations: 47.89 kB / 0.5581 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.004273, allocations: 260.4 kB / 0.5584 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.004381, allocations: 54.59 kB / 0.5584 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.00443, allocations: 28.95 kB / 0.5585 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.004448, allocations: 11.88 kB / 0.5585 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.004562, allocations: 75.38 kB / 0.5585 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.004563, allocations: 0 / 0.5585 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002448/0.004807, allocations: 133.6 kB / 0.5587 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.004841, allocations: 55.34 kB / 0.5587 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.004908, allocations: 129.5 kB / 0.5588 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.004918, allocations: 25.7 kB / 0.5589 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.00496, allocations: 96.08 kB / 0.559 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.004976, allocations: 19.89 kB / 0.559 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.005013, allocations: 29.7 kB / 0.559 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.005087, allocations: 314.8 kB / 0.5593 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.005144, allocations: 35.92 kB / 0.5593 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.00522, allocations: 73.98 kB / 0.5594 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.00535, allocations: 113.8 kB / 0.5595 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005352, allocations: 0 / 0.5595 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000163/0.005515, allocations: 133.4 kB / 0.5597 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.005525, allocations: 4 kB / 0.5597 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.005531, allocations: 4 kB / 0.5597 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.005542, allocations: 4.219 kB / 0.5597 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.005615, allocations: 19.98 kB / 0.5597 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.005622, allocations: 7.938 kB / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.731e-05/0.005659, allocations: 11.92 kB / 0.5597 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.00567, allocations: 8 kB / 0.5597 GB, free: 13.68 MB / 0.5261 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 6.306e-05/0.005733, allocations: 117.8 kB / 0.5598 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.005741, allocations: 11.89 kB / 0.5598 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.005762, allocations: 12.42 kB / 0.5598 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005763, allocations: 0 / 0.5598 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005767, allocations: 4 kB / 0.5598 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.00577, allocations: 0 / 0.5598 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.006032, allocations: 322 kB / 0.5602 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006033, allocations: 0 / 0.5602 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.006055, allocations: 7.984 kB / 0.5602 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.006057, allocations: 4 kB / 0.5602 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.006062, allocations: 0 / 0.5602 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006063, allocations: 0 / 0.5602 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006063, allocations: 0 / 0.5602 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.006216, allocations: 211.8 kB / 0.5604 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.006224, allocations: 7.953 kB / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.006235, allocations: 4 kB / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.006272, allocations: 4 kB / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.006303, allocations: 3.984 kB / 0.5604 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.006307, allocations: 4 kB / 0.5604 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.006341, allocations: 99.14 kB / 0.5605 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006341, allocations: 0 / 0.5605 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001654/0.006507, allocations: 23.94 kB / 0.5605 GB, free: 12.8 MB / 0.5261 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 9.768e-05/0.006605, allocations: 103.2 kB / 0.5606 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.006753, allocations: 75.83 kB / 0.5607 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.006754, allocations: 0 / 0.5607 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.006811, allocations: 35.97 kB / 0.5607 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.006983, allocations: 22.08 kB / 0.5607 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.007257, allocations: 187.1 kB / 0.5609 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.007303, allocations: 71.33 kB / 0.561 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.007327, allocations: 16.48 kB / 0.561 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of SimCode: time 3.61e-07/0.007328, allocations: 0 / 0.561 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.001711/0.009038, allocations: 1.079 MB / 0.562 GB, free: 11.16 MB / 0.5261 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: 4.610781266354024] Failed to read output from testmodel.py, exit status != 0: 0.012923149392008781 0.020540566 0.01590456 Calling exit ...