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.0007995/0.0007996, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008251/0.000825, allocations: 168.7 kB / 15.95 MB, free: 204 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.371/1.371, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.664/1.664, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005768/0.0005769, allocations: 19.59 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2462, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0009391/0.2472, allocations: 481.3 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2485, allocations: 1.048 MB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.2486, allocations: 8 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.2486, allocations: 3.938 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.2487, allocations: 11.91 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.249, allocations: 39.91 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.882e-05/0.2491, allocations: 59.78 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2492, allocations: 16.17 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.2493, allocations: 23.92 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.126e-05/0.2494, allocations: 31.89 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2494, allocations: 8 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.445e-05/0.2495, allocations: 15.92 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2495, allocations: 4 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.2496, allocations: 45.62 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.2497, allocations: 51.88 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2497, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2497, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2498, allocations: 0 / 0.7891 GB, free: 10.07 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.0005255/0.2503, allocations: 375.4 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2503, allocations: 8.031 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2504, allocations: 7.906 kB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.2505, allocations: 171 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.2505, allocations: 4 kB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.2505, allocations: 4 kB / 0.7896 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.2507, allocations: 73.59 kB / 0.7897 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2507, allocations: 7.938 kB / 0.7897 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.2507, allocations: 12 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2508, allocations: 0 / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.2509, allocations: 51.95 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.2515, allocations: 336.6 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.2517, allocations: 62.56 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.2518, allocations: 32.95 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.2518, allocations: 4 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.252, allocations: 87.36 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.252, allocations: 0 / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003753/0.2524, allocations: 145.6 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.2525, allocations: 55.41 kB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.2526, allocations: 125.7 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2526, allocations: 29.7 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.2526, allocations: 96.03 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.2527, allocations: 19.83 kB / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.2527, allocations: 0 / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.2528, allocations: 318.8 kB / 0.791 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.801e-05/0.2529, allocations: 31.98 kB / 0.7911 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.253, allocations: 81.97 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.2531, allocations: 43.92 kB / 0.7912 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2531, allocations: 0 / 0.7912 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002762/0.2534, allocations: 141.4 kB / 0.7913 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2534, allocations: 8 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2534, allocations: 0 / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2535, allocations: 4 kB / 0.7913 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2536, allocations: 28.12 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2536, allocations: 4 kB / 0.7914 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.2537, allocations: 19.86 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.2537, allocations: 7.984 kB / 0.7914 GB, free: 7.48 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 7.819e-05/0.2538, allocations: 114.5 kB / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.2538, allocations: 11.84 kB / 0.7915 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.2538, allocations: 16.36 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2539, allocations: 4 kB / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2539, allocations: 0 / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2539, allocations: 0 / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.2543, allocations: 382.4 kB / 0.7919 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2543, allocations: 4 kB / 0.7919 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.2544, allocations: 11.98 kB / 0.7919 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2544, allocations: 0 / 0.7919 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2544, allocations: 0 / 0.7919 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2544, allocations: 11.88 kB / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2544, allocations: 3.953 kB / 0.7919 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.2547, allocations: 211.4 kB / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.2547, allocations: 85.02 kB / 0.7922 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2547, allocations: 4 kB / 0.7922 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.2548, allocations: 11.98 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.2549, allocations: 3.953 kB / 0.7922 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.2549, allocations: 11.98 kB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.2549, allocations: 87.28 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2549, allocations: 0 / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002416/0.2552, allocations: 19.98 kB / 0.7923 GB, free: 6.406 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.0001458/0.2553, allocations: 107.2 kB / 0.7924 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.2556, allocations: 91.81 kB / 0.7925 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2556, allocations: 0 / 0.7925 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.2557, allocations: 35.98 kB / 0.7926 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.256, allocations: 20.42 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.2563, allocations: 169.3 kB / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2566, allocations: 0.6872 MB / 0.7934 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.732e-05/0.2566, allocations: 15.98 kB / 0.7934 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.2567, allocations: 15.38 kB / 0.7935 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2567, allocations: 0 / 0.7935 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.003063/0.2597, allocations: 0.8267 MB / 0.7943 GB, free: 4.387 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: