Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001298, allocations: 108.1 kB / 16.38 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 190.7 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.01/2.01, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 71.19 kB / 0.673 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2615, allocations: 114.6 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00225/0.2638, allocations: 0.7635 MB / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2653, allocations: 1.067 MB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.2654, allocations: 0 / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.2654, allocations: 3.938 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.2655, allocations: 15.86 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.2658, allocations: 51.81 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.266, allocations: 83.75 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2661, allocations: 12.19 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.2662, allocations: 27.92 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.2663, allocations: 31.84 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.2663, allocations: 8 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.2664, allocations: 27.91 kB / 0.7869 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.2664, allocations: 15.92 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.2665, allocations: 27.86 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2666, allocations: 79.75 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2666, allocations: 4 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2666, allocations: 0 / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2666, allocations: 0 / 0.787 GB, free: 0.8906 MB / 0.6544 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.0005296/0.2672, allocations: 379.2 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2672, allocations: 8.031 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.2673, allocations: 8.844 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2674, allocations: 176.2 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2674, allocations: 4.312 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.2674, allocations: 8.312 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.2676, allocations: 70.22 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2677, allocations: 3.938 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2677, allocations: 8 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2677, allocations: 0 / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.2679, allocations: 43.95 kB / 0.7877 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5037/0.7716, allocations: 319 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.7718, allocations: 55.09 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.7719, allocations: 37.8 kB / 0.7881 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.772, allocations: 0 / 0.7881 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.7722, allocations: 75.39 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.7723, allocations: 1.719 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004146/0.7727, allocations: 138.7 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.7727, allocations: 52.41 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.7728, allocations: 122.7 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.7728, allocations: 27.64 kB / 0.7885 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.7729, allocations: 90.8 kB / 0.7885 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.7729, allocations: 18.22 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.773, allocations: 28.75 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.773, allocations: 318.7 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.7731, allocations: 35.75 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.7732, allocations: 79.44 kB / 0.789 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.7734, allocations: 101 kB / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7735, allocations: 0 / 0.7891 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002813/0.7737, allocations: 141.5 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7738, allocations: 5.781 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7738, allocations: 6.562 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.7738, allocations: 0 / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.7739, allocations: 22.12 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.774, allocations: 3.125 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.7741, allocations: 13.72 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.7741, allocations: 2.562 kB / 0.7893 GB, free: 47.86 MB / 0.6544 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 7.478e-05/0.7742, allocations: 125.5 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.7742, allocations: 8.781 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.7742, allocations: 8.047 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7742, allocations: 0 / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7742, allocations: 0.8125 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.7743, allocations: 91.09 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.7743, allocations: 7.234 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.397e-05/0.7743, allocations: 5.875 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.7744, allocations: 6.297 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002714/0.7747, allocations: 189.2 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000257/0.7749, allocations: 284.7 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.945e-05/0.775, allocations: 28.75 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.7751, allocations: 95.28 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of Backend: time 7.72e-07/0.7751, allocations: 0.9375 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.7756, allocations: 138.9 kB / 0.7902 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004478/0.7761, allocations: 0.6045 MB / 0.7908 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.00375/0.7798, allocations: 1.06 MB / 0.7919 GB, free: 46.59 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)