Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.92/1.92, allocations: 287.5 MB / 302.6 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009459/0.0009459, allocations: 189.6 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008035/0.0008036, allocations: 98.66 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004731, allocations: 13.81 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3114, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001114/0.3126, allocations: 469.6 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3141, allocations: 1.047 MB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.3142, allocations: 7.938 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.3143, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.3144, allocations: 7.938 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.3149, allocations: 43.89 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.315, allocations: 67.78 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3151, allocations: 20.14 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3152, allocations: 23.92 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.3153, allocations: 23.86 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3153, allocations: 4 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.3154, allocations: 19.98 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.3155, allocations: 15.97 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.3155, allocations: 33.64 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.3156, allocations: 52.17 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3157, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3157, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3157, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 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.0006174/0.3163, allocations: 375.3 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3164, allocations: 8.031 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.3164, allocations: 8.844 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3165, allocations: 180.2 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3166, allocations: 384 / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.3166, allocations: 12.31 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.3169, allocations: 66.23 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3169, allocations: 3.938 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3169, allocations: 11.98 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.3169, allocations: 3.938 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3171, allocations: 47.97 kB / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006854/0.3178, allocations: 336.6 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.318, allocations: 58.55 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.3181, allocations: 40.97 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.3181, allocations: 0 / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.3183, allocations: 83.41 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.3183, allocations: 4 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004183/0.3187, allocations: 149.5 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3188, allocations: 55.41 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.3189, allocations: 122.2 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3189, allocations: 25.7 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.319, allocations: 96.05 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.319, allocations: 19.73 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.319, allocations: 4 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.3191, allocations: 318.8 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3192, allocations: 39.97 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3193, allocations: 85.97 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.3196, allocations: 121.8 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3196, allocations: 0 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002991/0.3199, allocations: 145.5 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3199, allocations: 4 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3199, allocations: 4 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3199, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3201, allocations: 27.97 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3201, allocations: 0 / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.3202, allocations: 12 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3202, allocations: 8.062 kB / 0.9829 GB, free: 23.63 MB / 0.6198 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/0.3203, allocations: 129.7 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3203, allocations: 7.906 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.3204, allocations: 4.375 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3204, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3204, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3204, allocations: 4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.3208, allocations: 398.2 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3208, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.3209, allocations: 15.98 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3209, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3209, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3209, allocations: 7.938 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3209, allocations: 0 / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.3212, allocations: 211.4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.3212, allocations: 89 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3212, allocations: 7.938 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-05/0.3213, allocations: 11.92 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.3214, allocations: 8 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3214, allocations: 0 / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.3214, allocations: 95.27 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3214, allocations: 0 / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002589/0.3217, allocations: 12 kB / 0.9838 GB, free: 22.55 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001996/0.3219, allocations: 115.2 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.3222, allocations: 83.88 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3222, allocations: 448 / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3223, allocations: 43.92 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3226, allocations: 11.98 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.323, allocations: 174.2 kB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.3232, allocations: 0.6887 MB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.903e-05/0.3233, allocations: 7.984 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.3233, allocations: 11.44 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.3233, allocations: 0 / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.00367/0.327, allocations: 0.8361 MB / 0.9857 GB, free: 20.54 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)