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.001959/0.001959, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.002103/0.002103, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.613/1.613, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.044/1.044, allocations: 150 MB / 459.5 MB, free: 5.242 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.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.003236/0.003236, allocations: 59.28 kB / 0.6366 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.248, allocations: 89.15 MB / 0.7236 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002201/0.2502, allocations: 0.7242 MB / 0.7244 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2519, allocations: 1.114 MB / 0.7254 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.2519, allocations: 3.938 kB / 0.7254 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.2519, allocations: 7.922 kB / 0.7254 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.031e-05/0.252, allocations: 11.88 kB / 0.7255 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.2524, allocations: 47.89 kB / 0.7255 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.2526, allocations: 75.77 kB / 0.7256 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2527, allocations: 24.05 kB / 0.7256 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.741e-05/0.2528, allocations: 27.92 kB / 0.7256 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.2529, allocations: 31.84 kB / 0.7257 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.2529, allocations: 4 kB / 0.7257 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.253, allocations: 19.98 kB / 0.7257 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.253, allocations: 19.97 kB / 0.7257 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.2531, allocations: 31.8 kB / 0.7257 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.2532, allocations: 83.62 kB / 0.7258 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2532, allocations: 0 / 0.7258 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2532, allocations: 4 kB / 0.7258 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.2533, allocations: 0 / 0.7258 GB, free: 1.254 MB / 0.5294 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.0007207/0.254, allocations: 387.1 kB / 0.7262 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.254, allocations: 12.03 kB / 0.7262 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.2541, allocations: 4.938 kB / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.2543, allocations: 172.3 kB / 0.7264 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2543, allocations: 384 / 0.7264 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.2544, allocations: 4.375 kB / 0.7264 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.2546, allocations: 78.14 kB / 0.7264 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2546, allocations: 3.938 kB / 0.7264 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2546, allocations: 8 kB / 0.7265 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2546, allocations: 4 kB / 0.7265 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.2548, allocations: 43.95 kB / 0.7265 GB, free: 472 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.2555, allocations: 328.7 kB / 0.7268 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2557, allocations: 50.5 kB / 0.7269 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2558, allocations: 32.95 kB / 0.7269 GB, free: 16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2559, allocations: 0 / 0.7269 GB, free: 16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.2561, allocations: 79.38 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.2561, allocations: 0 / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005145/0.2566, allocations: 133.5 kB / 0.7271 GB, free: 15.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.2567, allocations: 51.41 kB / 0.7271 GB, free: 15.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.2568, allocations: 117.8 kB / 0.7273 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.2569, allocations: 29.69 kB / 0.7273 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.257, allocations: 104.1 kB / 0.7274 GB, free: 15.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.257, allocations: 11.84 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.257, allocations: 33.7 kB / 0.7274 GB, free: 15.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2572, allocations: 322.8 kB / 0.7277 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.2573, allocations: 27.92 kB / 0.7278 GB, free: 15.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.2575, allocations: 77.97 kB / 0.7278 GB, free: 14.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.2577, allocations: 109.9 kB / 0.7279 GB, free: 14.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2577, allocations: 0 / 0.7279 GB, free: 14.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000341/0.258, allocations: 133.5 kB / 0.7281 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2581, allocations: 6.25 kB / 0.7281 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2581, allocations: 8 kB / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2581, allocations: 0 / 0.7281 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2582, allocations: 19.92 kB / 0.7281 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.2582, allocations: 4 kB / 0.7281 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.2583, allocations: 15.88 kB / 0.7281 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2583, allocations: 8 kB / 0.7281 GB, free: 14.62 MB / 0.545 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.0001117/0.2584, allocations: 121.8 kB / 0.7282 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.2585, allocations: 4 kB / 0.7282 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.2585, allocations: 16.36 kB / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2585, allocations: 3.938 kB / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2585, allocations: 0 / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2585, allocations: 0 / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.259, allocations: 374.4 kB / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.259, allocations: 0 / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.2591, allocations: 7.938 kB / 0.7286 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2591, allocations: 8 kB / 0.7286 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.2591, allocations: 0 / 0.7286 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2591, allocations: 7.922 kB / 0.7286 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2591, allocations: 0 / 0.7286 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.2594, allocations: 195.5 kB / 0.7288 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.2595, allocations: 85 kB / 0.7289 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.2595, allocations: 11.98 kB / 0.7289 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.2596, allocations: 11.94 kB / 0.7289 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.2596, allocations: 7.984 kB / 0.7289 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.2596, allocations: 0 / 0.7289 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.697e-05/0.2597, allocations: 99.09 kB / 0.729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2597, allocations: 0 / 0.729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002569/0.26, allocations: 19.94 kB / 0.7291 GB, free: 13.56 MB / 0.545 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.0001772/0.2601, allocations: 103.2 kB / 0.7292 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003046/0.2605, allocations: 80.34 kB / 0.7292 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2605, allocations: 0 / 0.7292 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.2606, allocations: 39.95 kB / 0.7293 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.2609, allocations: 9.984 kB / 0.7293 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.2613, allocations: 170.4 kB / 0.7294 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.2616, allocations: 0.6885 MB / 0.7301 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.2616, allocations: 4 kB / 0.7301 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.2617, allocations: 15.42 kB / 0.7301 GB, free: 12.39 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2617, allocations: 0 / 0.7301 GB, free: 12.39 MB / 0.545 GB Notification: Performance of Templates: time 0.00415/0.2658, allocations: 0.9743 MB / 0.7311 GB, free: 11.45 MB / 0.545 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.433593427063897] Failed to read output from testmodel.py, exit status != 0: 0.2765561880078167 0.29103596899999995 0.034742886 Calling exit ...