Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 252 MB / 267.6 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009774/0.0009771, allocations: 181 kB / 327.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 0.5783 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007871/0.0007872, allocations: 99.45 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.000364, allocations: 8.656 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2179, allocations: 106.3 MB / 0.9009 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001599/0.2195, allocations: 1.11 MB / 0.9019 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.22, allocations: 188.4 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.2201, allocations: 0 / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.2201, allocations: 3.938 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.2202, allocations: 11.92 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.2204, allocations: 7.984 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.892e-05/0.2205, allocations: 31.92 kB / 0.9022 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2206, allocations: 12 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.2207, allocations: 15.86 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.2208, allocations: 15.92 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.2208, allocations: 0 / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.2208, allocations: 4 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.2208, allocations: 0 / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.2209, allocations: 33.64 kB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.571e-05/0.2209, allocations: 27.92 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.221, allocations: 0 / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.492e-06/0.221, allocations: 3.938 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.221, allocations: 0 / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004778/0.2215, allocations: 359.4 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2215, allocations: 8.031 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.2215, allocations: 4 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.2216, allocations: 163 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2217, allocations: 8 kB / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.2217, allocations: 0 / 0.9028 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.2219, allocations: 65.67 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2219, allocations: 0 / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2219, allocations: 3.984 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2219, allocations: 0 / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2221, allocations: 55.91 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.2225, allocations: 268.8 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.2226, allocations: 42.56 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.2227, allocations: 36.92 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2228, allocations: 0 / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.223, allocations: 75.33 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.223, allocations: 4 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004035/0.2234, allocations: 113.6 kB / 0.9034 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.2234, allocations: 51.41 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.2235, allocations: 113.8 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2236, allocations: 25.7 kB / 0.9036 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.2236, allocations: 92.05 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.2236, allocations: 7.844 kB / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.2236, allocations: 4 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.2237, allocations: 318.8 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/0.2238, allocations: 31.92 kB / 0.904 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.2239, allocations: 38.56 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.224, allocations: 31.97 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.224, allocations: 0 / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002101/0.2242, allocations: 93.59 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2243, allocations: 4 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2243, allocations: 4.094 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2243, allocations: 7.938 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.2244, allocations: 15.92 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2244, allocations: 0 / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.2245, allocations: 11.95 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.2245, allocations: 4 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.501e-05/0.2246, allocations: 117.8 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.2246, allocations: 12.09 kB / 0.9044 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.2246, allocations: 7.906 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2246, allocations: 3.984 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2247, allocations: 0 / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2247, allocations: 0 / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.225, allocations: 346.5 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.225, allocations: 0 / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.2251, allocations: 11.98 kB / 0.9047 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2251, allocations: 3.938 kB / 0.9047 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2251, allocations: 0 / 0.9047 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2251, allocations: 0 / 0.9047 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2251, allocations: 3.953 kB / 0.9047 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.2254, allocations: 195.4 kB / 0.9049 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.2254, allocations: 77.11 kB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2254, allocations: 0 / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.2255, allocations: 20.11 kB / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.2255, allocations: 0 / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.2256, allocations: 11.95 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.2256, allocations: 83.27 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2256, allocations: 0 / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002172/0.2258, allocations: 12 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001032/0.2259, allocations: 95.25 kB / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.2262, allocations: 67.89 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2262, allocations: 0 / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.2263, allocations: 27.98 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.2265, allocations: 12.17 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.2268, allocations: 166.2 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2269, allocations: 0.677 MB / 0.9061 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.227, allocations: 11.44 kB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.227, allocations: 3.938 kB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.001733/0.2287, allocations: 0.7041 MB / 0.9068 GB, free: 57.39 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)