Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008836, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009161/0.0009163, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005886/0.0005886, allocations: 20.22 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2562, allocations: 116.3 MB / 0.7871 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001091/0.2574, allocations: 469.4 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2587, allocations: 1.06 MB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.2588, allocations: 0 / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.2588, allocations: 0 / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.2589, allocations: 11.92 kB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.2591, allocations: 43.89 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.2592, allocations: 43.83 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2594, allocations: 20.16 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.2594, allocations: 27.91 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.2595, allocations: 23.91 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.2595, allocations: 4 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.484e-05/0.2596, allocations: 15.92 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2596, allocations: 11.98 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.2596, allocations: 37.64 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.2597, allocations: 51.88 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.2597, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2598, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.2598, allocations: 4 kB / 0.7889 GB, free: 10.1 MB / 0.6075 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.0005112/0.2603, allocations: 371.3 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2603, allocations: 12.02 kB / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.2604, allocations: 11.91 kB / 0.7893 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2605, allocations: 179 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.2605, allocations: 4 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2605, allocations: 4 kB / 0.7895 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.2608, allocations: 81.59 kB / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2608, allocations: 0 / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2608, allocations: 0 / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2608, allocations: 0 / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.261, allocations: 59.95 kB / 0.7896 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.2616, allocations: 320.6 kB / 0.7899 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.2618, allocations: 66.55 kB / 0.79 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2618, allocations: 0 / 0.79 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.262, allocations: 83.5 kB / 0.79 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.2621, allocations: 3.938 kB / 0.7901 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000427/0.2625, allocations: 149.5 kB / 0.7902 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.2625, allocations: 59.41 kB / 0.7903 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2627, allocations: 125.8 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2627, allocations: 29.7 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.2627, allocations: 92.05 kB / 0.7905 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.2628, allocations: 11.83 kB / 0.7905 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.2628, allocations: 4 kB / 0.7905 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2629, allocations: 318.8 kB / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.263, allocations: 35.97 kB / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2632, allocations: 74.3 kB / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.2633, allocations: 43.92 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2633, allocations: 0 / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003179/0.2636, allocations: 149.4 kB / 0.7911 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2637, allocations: 4 kB / 0.7911 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2637, allocations: 4 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2637, allocations: 0 / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2638, allocations: 28.14 kB / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2638, allocations: 3.984 kB / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.2639, allocations: 19.89 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.264, allocations: 7.953 kB / 0.7912 GB, free: 7.555 MB / 0.6075 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.0001104/0.2641, allocations: 121.8 kB / 0.7913 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.2641, allocations: 7.906 kB / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.2641, allocations: 12.36 kB / 0.7913 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2641, allocations: 4 kB / 0.7913 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2642, allocations: 3.984 kB / 0.7913 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2642, allocations: 4 kB / 0.7913 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.2647, allocations: 394.3 kB / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2647, allocations: 0 / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.2647, allocations: 8 kB / 0.7917 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2647, allocations: 0 / 0.7917 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2647, allocations: 0 / 0.7917 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2648, allocations: 3.984 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2648, allocations: 3.953 kB / 0.7917 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.2651, allocations: 211.4 kB / 0.7919 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.2651, allocations: 81.02 kB / 0.792 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2651, allocations: 7.984 kB / 0.792 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.2652, allocations: 8 kB / 0.792 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2653, allocations: 11.98 kB / 0.792 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2653, allocations: 7.953 kB / 0.792 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.2653, allocations: 99.86 kB / 0.7921 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2653, allocations: 0 / 0.7921 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002364/0.2656, allocations: 16 kB / 0.7921 GB, free: 6.469 MB / 0.6075 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.0001437/0.2657, allocations: 99.25 kB / 0.7922 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.266, allocations: 99.8 kB / 0.7923 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.266, allocations: 0 / 0.7923 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.2661, allocations: 39.97 kB / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.2663, allocations: 8.438 kB / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.2667, allocations: 169.4 kB / 0.7925 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.2669, allocations: 0.6989 MB / 0.7932 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.267, allocations: 11.98 kB / 0.7932 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.267, allocations: 11.44 kB / 0.7932 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.267, allocations: 0 / 0.7932 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of Templates: time 0.003335/0.2703, allocations: 0.8237 MB / 0.794 GB, free: 4.457 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) Environment - environmentSimulation: