Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.827/1.827, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001012/0.001012, allocations: 187.3 kB / 372.9 MB, free: 10.15 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.763/1.763, allocations: 205.4 MB / 0.6316 GB, free: 9.898 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.000896/0.0008961, allocations: 94.3 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 12.62 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2181, allocations: 115.3 MB / 0.9808 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0008429/0.219, allocations: 465.8 kB / 0.9812 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.22, allocations: 1.064 MB / 0.9822 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.2201, allocations: 0 / 0.9822 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.2201, allocations: 0 / 0.9822 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.2202, allocations: 19.86 kB / 0.9823 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.2204, allocations: 35.97 kB / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.467e-05/0.2205, allocations: 63.77 kB / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.2206, allocations: 16.19 kB / 0.9824 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.2207, allocations: 23.92 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.2208, allocations: 31.83 kB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.2208, allocations: 0 / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.316e-05/0.2209, allocations: 19.98 kB / 0.9824 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.2209, allocations: 11.92 kB / 0.9825 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.221, allocations: 49.58 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.2211, allocations: 60.14 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2211, allocations: 0 / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2211, allocations: 0 / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2211, allocations: 0 / 0.9826 GB, free: 25.46 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.000487/0.2216, allocations: 367.2 kB / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2217, allocations: 15.97 kB / 0.9829 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.2217, allocations: 8.844 kB / 0.9829 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.2218, allocations: 172.3 kB / 0.9831 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2218, allocations: 4.375 kB / 0.9831 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2218, allocations: 4.375 kB / 0.9831 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.222, allocations: 78.16 kB / 0.9832 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.222, allocations: 3.938 kB / 0.9832 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.222, allocations: 3.984 kB / 0.9832 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2221, allocations: 4 kB / 0.9832 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2222, allocations: 55.95 kB / 0.9833 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006695/0.2229, allocations: 332.6 kB / 0.9836 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.2231, allocations: 58.55 kB / 0.9836 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.2233, allocations: 40.95 kB / 0.9837 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.2233, allocations: 0 / 0.9837 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.2235, allocations: 79.38 kB / 0.9837 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.2235, allocations: 0 / 0.9837 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004983/0.224, allocations: 149.6 kB / 0.9839 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.2241, allocations: 59.34 kB / 0.9839 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.2242, allocations: 121.8 kB / 0.9841 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2242, allocations: 29.7 kB / 0.9841 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.2243, allocations: 92.03 kB / 0.9842 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.2243, allocations: 23.73 kB / 0.9842 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.2243, allocations: 0 / 0.9842 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.2244, allocations: 326.8 kB / 0.9845 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.2245, allocations: 27.98 kB / 0.9845 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.2247, allocations: 81.92 kB / 0.9846 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.225, allocations: 129.8 kB / 0.9847 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.225, allocations: 0 / 0.9847 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000386/0.2254, allocations: 141.6 kB / 0.9849 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2254, allocations: 8 kB / 0.9849 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2254, allocations: 0 / 0.9849 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2254, allocations: 4 kB / 0.9849 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2256, allocations: 19.92 kB / 0.9849 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2256, allocations: 4 kB / 0.9849 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2257, allocations: 15.98 kB / 0.9849 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.2258, allocations: 4 kB / 0.9849 GB, free: 22.79 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.072e-05/0.2259, allocations: 125.2 kB / 0.985 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.2259, allocations: 7.906 kB / 0.985 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.2259, allocations: 12.31 kB / 0.9851 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2259, allocations: 7.984 kB / 0.9851 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2259, allocations: 4 kB / 0.9851 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.226, allocations: 84.95 kB / 0.9852 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.226, allocations: 0 / 0.9852 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.2261, allocations: 15.92 kB / 0.9852 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.2261, allocations: 12 kB / 0.9852 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003266/0.2265, allocations: 188.9 kB / 0.9854 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000322/0.2268, allocations: 290.7 kB / 0.9856 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001302/0.2269, allocations: 35.98 kB / 0.9857 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.227, allocations: 99.86 kB / 0.9858 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of Backend: time 4.41e-07/0.227, allocations: 0 / 0.9858 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006087/0.2276, allocations: 136.4 kB / 0.9859 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004418/0.2281, allocations: 0.6265 MB / 0.9865 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.003743/0.2318, allocations: 0.9245 MB / 0.9874 GB, free: 20.16 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)