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 3.083/3.083, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.002318/0.002318, allocations: 180.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.332/2.332, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.00166/0.00166, allocations: 101.6 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005037, allocations: 16.8 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2328, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0009769/0.2339, allocations: 469.6 kB / 0.9787 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.2353, allocations: 1.06 MB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.2354, allocations: 0 / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.2355, allocations: 7.922 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.71e-05/0.2356, allocations: 15.92 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.2359, allocations: 43.83 kB / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.236, allocations: 39.95 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2361, allocations: 24.09 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.2362, allocations: 23.92 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.2362, allocations: 27.84 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.2363, allocations: 4 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.93e-05/0.2363, allocations: 15.98 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.2364, allocations: 3.984 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.2364, allocations: 41.64 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.2365, allocations: 47.88 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.2365, allocations: 0 / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2366, allocations: 0 / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2366, allocations: 0 / 0.98 GB, free: 26.55 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.0005652/0.2371, allocations: 383.4 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2372, allocations: 8.031 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.2373, allocations: 7.906 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2374, allocations: 175 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2374, allocations: 3.938 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.2374, allocations: 4 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.2377, allocations: 77.66 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2377, allocations: 0 / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2378, allocations: 0 / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.2378, allocations: 4 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.2381, allocations: 55.95 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008434/0.2389, allocations: 328.6 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.2392, allocations: 62.55 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.2392, allocations: 0 / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.2395, allocations: 87.52 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/0.2395, allocations: 4 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006222/0.2402, allocations: 141.5 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.2402, allocations: 63.3 kB / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.2403, allocations: 121.8 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2404, allocations: 29.7 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.2404, allocations: 92.05 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.2405, allocations: 19.83 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.2405, allocations: 3.938 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.2406, allocations: 318.8 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2408, allocations: 39.97 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.241, allocations: 78.36 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.2412, allocations: 39.98 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2412, allocations: 0 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004828/0.2417, allocations: 141.4 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2417, allocations: 14.02 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2417, allocations: 0 / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2418, allocations: 7.938 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.242, allocations: 16.2 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.242, allocations: 8 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.2421, allocations: 19.84 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.2422, allocations: 8 kB / 0.9822 GB, free: 24 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 9.571e-05/0.2423, allocations: 117.8 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.2423, allocations: 7.906 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.2423, allocations: 12.38 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2424, allocations: 0 / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2424, allocations: 4 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2424, allocations: 11.97 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.2431, allocations: 378.4 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2431, allocations: 0 / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.2432, allocations: 19.92 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2432, allocations: 0 / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2432, allocations: 4 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2432, allocations: 3.953 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2432, allocations: 0 / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.2436, allocations: 215.8 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.2437, allocations: 85.02 kB / 0.9831 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.2437, allocations: 4 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2439, allocations: 11.98 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.2439, allocations: 7.938 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2439, allocations: 4 kB / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.244, allocations: 103.4 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.244, allocations: 0 / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003638/0.2444, allocations: 20 kB / 0.9832 GB, free: 22.91 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.0001617/0.2446, allocations: 97.22 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.245, allocations: 91.94 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.245, allocations: 0 / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.2452, allocations: 35.98 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.2455, allocations: 18.12 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.2459, allocations: 173.4 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2461, allocations: 0.6926 MB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.409e-05/0.2462, allocations: 4 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.2462, allocations: 23.36 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.2462, allocations: 0 / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.004054/0.2503, allocations: 0.8229 MB / 0.9851 GB, free: 20.91 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)