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 3.019/3.019, allocations: 287.5 MB / 302.4 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.001482/0.001482, allocations: 182.3 kB / 371 MB, free: 10.85 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.193/2.193, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009613/0.000961, allocations: 92.62 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006975/0.0006978, allocations: 13.8 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.24, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001112/0.2412, allocations: 470.5 kB / 0.9788 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2428, allocations: 1.056 MB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.2429, allocations: 4 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.243, allocations: 3.938 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.617e-05/0.2431, allocations: 3.938 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.2434, allocations: 51.83 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2436, allocations: 59.84 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2437, allocations: 16.16 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/0.2438, allocations: 27.86 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.2439, allocations: 23.92 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2439, allocations: 4 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/0.244, allocations: 11.98 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.244, allocations: 15.91 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.2441, allocations: 41.7 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2442, allocations: 47.89 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2443, allocations: 0 / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.935e-06/0.2443, allocations: 0 / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2443, allocations: 0 / 0.9802 GB, free: 26.48 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.0006472/0.2449, allocations: 375.3 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.245, allocations: 15.95 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.2451, allocations: 15.91 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2452, allocations: 178.9 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.2452, allocations: 0 / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2452, allocations: 4 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.2455, allocations: 73.66 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2456, allocations: 3.938 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2456, allocations: 4 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2456, allocations: 0 / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.2459, allocations: 51.97 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.2468, allocations: 328.7 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.247, allocations: 66.58 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.2472, allocations: 32.97 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.2472, allocations: 4 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.2475, allocations: 79.38 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.046e-06/0.2475, allocations: 0 / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000656/0.2482, allocations: 153.7 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.2483, allocations: 55.36 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2484, allocations: 125.8 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2484, allocations: 29.7 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.2485, allocations: 92.05 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.2485, allocations: 19.83 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.2485, allocations: 3.938 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.2486, allocations: 314.8 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.2488, allocations: 31.97 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.249, allocations: 89.92 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.2492, allocations: 47.91 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.2492, allocations: 0 / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004749/0.2497, allocations: 137.5 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2497, allocations: 8 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2498, allocations: 80 / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2498, allocations: 4 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.25, allocations: 15.98 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.25, allocations: 15.88 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2502, allocations: 23.98 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2502, allocations: 4 kB / 0.9825 GB, free: 23.88 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.742e-05/0.2503, allocations: 117.8 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.2503, allocations: 11.89 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.2504, allocations: 12.38 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2504, allocations: 0 / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2504, allocations: 0 / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2504, allocations: 3.953 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.2511, allocations: 390.4 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2511, allocations: 0 / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.313e-05/0.2512, allocations: 8 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2512, allocations: 7.984 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.2512, allocations: 4 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2512, allocations: 3.953 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2512, allocations: 0 / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.2517, allocations: 211.4 kB / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.2517, allocations: 89 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.2517, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2519, allocations: 8 kB / 0.9833 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.2519, allocations: 7.938 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.252, allocations: 4 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.252, allocations: 95.92 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.774e-06/0.252, allocations: 4 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000361/0.2524, allocations: 19.94 kB / 0.9834 GB, free: 22.81 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.0001721/0.2526, allocations: 107.5 kB / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.253, allocations: 91.89 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2531, allocations: 0 / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.2532, allocations: 39.97 kB / 0.9836 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.2536, allocations: 15.88 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.2541, allocations: 169.7 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.2542, allocations: 0.6887 MB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.144e-05/0.2543, allocations: 4 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.2544, allocations: 15.42 kB / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/0.2544, allocations: 0 / 0.9845 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.00434/0.2587, allocations: 0.8413 MB / 0.9853 GB, free: 20.82 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)