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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.675/2.675, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001508/0.001508, allocations: 182.7 kB / 370.8 MB, free: 10.87 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.214/2.214, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001107/0.001107, allocations: 90.36 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006791/0.0006793, allocations: 12.84 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2238, 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.SampleTriggerPositiveStartTime): time 0.0009954/0.2249, allocations: 474.7 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2263, allocations: 1.052 MB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.2264, allocations: 0 / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.2264, allocations: 3.938 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.247e-05/0.2265, allocations: 11.98 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.2268, allocations: 43.83 kB / 0.9798 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.2269, allocations: 39.94 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.227, allocations: 20.12 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.2271, allocations: 19.92 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.2272, allocations: 35.83 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2272, allocations: 4 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.531e-05/0.2273, allocations: 11.98 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.2273, allocations: 11.98 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.2274, allocations: 37.64 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2275, allocations: 51.88 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.2275, allocations: 0 / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.624e-06/0.2275, allocations: 4 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2275, 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.0005598/0.2281, allocations: 373.2 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2282, allocations: 12.02 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.2282, allocations: 7.906 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2283, allocations: 178.8 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2284, allocations: 8 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.2284, allocations: 4 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.2287, allocations: 73.59 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2287, allocations: 0 / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2287, allocations: 8 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2287, allocations: 0 / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.229, allocations: 55.95 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.2298, allocations: 340.6 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.2301, allocations: 58.56 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.2301, allocations: 3.984 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.2304, allocations: 83.55 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.045e-06/0.2304, allocations: 0 / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005973/0.231, allocations: 153.5 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.2311, allocations: 59.36 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.2312, allocations: 117.8 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.2312, allocations: 29.7 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.2313, allocations: 100 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.2313, allocations: 11.84 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.2313, allocations: 4 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.2314, allocations: 314.8 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.2316, allocations: 39.97 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.2318, allocations: 77.92 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.232, allocations: 43.97 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.232, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000458/0.2325, allocations: 141.4 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2325, allocations: 11.94 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2325, allocations: 0 / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2325, allocations: 8.219 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.2327, allocations: 19.98 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2328, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.2329, allocations: 23.84 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2329, allocations: 4 kB / 0.9822 GB, free: 23.99 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 0.0001089/0.2331, allocations: 125.8 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.2331, allocations: 7.891 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.2331, allocations: 12.38 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2331, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2332, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2332, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.2338, allocations: 394.4 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2338, allocations: 3.938 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.829e-05/0.2339, allocations: 11.98 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2339, allocations: 7.938 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2339, allocations: 0 / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2339, allocations: 3.953 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.234, allocations: 0 / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.2344, allocations: 207.4 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.2344, allocations: 85 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.2344, allocations: 0 / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2346, allocations: 12 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.2346, allocations: 15.94 kB / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.2347, allocations: 3.938 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.2347, allocations: 91.27 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2347, allocations: 0 / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003471/0.2351, 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.0001524/0.2353, allocations: 103.2 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004052/0.2357, allocations: 87.88 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2357, allocations: 4 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2359, allocations: 40.34 kB / 0.9834 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.2361, allocations: 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.0003916/0.2366, allocations: 171.3 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.2367, allocations: 0.6965 MB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.859e-05/0.2368, allocations: 11.94 kB / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.2368, allocations: 7.438 kB / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2368, allocations: 4 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.003976/0.2408, allocations: 0.8379 MB / 0.9851 GB, free: 20.92 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)