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.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.861/2.861, allocations: 287.3 MB / 302.3 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.002426/0.002425, allocations: 182.2 kB / 370.8 MB, free: 10.86 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.355/2.355, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001138/0.001138, allocations: 98 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007477/0.0007477, allocations: 12.44 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2246, 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.SampleTriggerNegativeStartTime): time 0.0009859/0.2257, allocations: 469.6 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2271, allocations: 1.056 MB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.2271, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.2272, allocations: 3.938 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.2273, allocations: 7.984 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.2276, allocations: 51.83 kB / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.634e-05/0.2277, allocations: 39.94 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.2278, allocations: 20.11 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.2279, allocations: 23.91 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.2279, allocations: 31.84 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.228, allocations: 3.938 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.2281, allocations: 15.98 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.2281, allocations: 11.97 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.2281, allocations: 37.64 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.2283, allocations: 51.89 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2283, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2283, allocations: 4 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2283, allocations: 0 / 0.98 GB, free: 26.54 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.0005421/0.2289, allocations: 371.4 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2289, allocations: 12.02 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.229, allocations: 7.906 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.594e-05/0.229, allocations: 178.9 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2291, allocations: 7.938 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.2291, allocations: 8 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.2294, allocations: 69.66 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2294, allocations: 4 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2294, allocations: 0 / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2294, allocations: 0 / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.2297, allocations: 59.95 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.2305, allocations: 340.6 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.2308, allocations: 50.56 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.2308, allocations: 3.984 kB / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.2311, allocations: 83.55 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.597e-06/0.2311, allocations: 0 / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005977/0.2317, allocations: 157.7 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2318, allocations: 55.36 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.2319, allocations: 121.8 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.2319, allocations: 29.7 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.232, allocations: 92.05 kB / 0.9816 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.2321, allocations: 15.83 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.2321, allocations: 0 / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2322, allocations: 322.8 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.2325, allocations: 31.97 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.2328, allocations: 82 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.2331, allocations: 39.97 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2331, allocations: 8 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004732/0.2336, allocations: 141.4 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2336, allocations: 4.219 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2336, allocations: 11.98 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2337, allocations: 0 / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.2339, allocations: 23.92 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2339, allocations: 7.953 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.234, allocations: 15.89 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.2341, allocations: 8 kB / 0.9822 GB, free: 23.98 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.0001001/0.2342, allocations: 123.5 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.2342, allocations: 7.984 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.2342, allocations: 8.375 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2343, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2343, allocations: 4 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2343, allocations: 7.938 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.2349, allocations: 390.3 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2349, allocations: 3.938 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.235, allocations: 11.98 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.235, allocations: 0 / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2351, allocations: 0 / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2351, allocations: 3.953 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2351, allocations: 0 / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.2355, allocations: 207.4 kB / 0.983 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.2355, allocations: 89 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.2356, allocations: 4 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2357, allocations: 8 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.2358, allocations: 11.94 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2358, allocations: 4 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.2359, allocations: 91.27 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2359, allocations: 3.938 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003537/0.2362, allocations: 16 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.0001648/0.2364, allocations: 103.2 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.2369, allocations: 91.88 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2369, allocations: 0 / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.2371, allocations: 44.41 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2373, allocations: 4 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.0003966/0.2377, allocations: 173.3 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.2379, allocations: 0.7043 MB / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.585e-05/0.238, allocations: 11.94 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.238, allocations: 11.44 kB / 0.9843 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.238, allocations: 0 / 0.9843 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.003998/0.242, allocations: 0.8266 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.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)