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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009615/0.009615, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001827/0.001828, allocations: 187.8 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.677/1.677, allocations: 251.7 MB / 0.5094 GB, free: 2.988 MB / 414.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.001437/0.001437, allocations: 63.91 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2815, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002818/0.2844, allocations: 1.399 MB / 0.8294 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000447/0.2849, allocations: 192.7 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.2849, allocations: 8 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.671e-05/0.285, allocations: 0 / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.242e-05/0.2851, allocations: 7.875 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.2853, allocations: 11.98 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.428e-05/0.2854, allocations: 35.91 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2855, allocations: 15.92 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.79e-05/0.2856, allocations: 15.94 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.2856, allocations: 15.92 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2857, allocations: 0 / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.2857, allocations: 4 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.2857, allocations: 19.92 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.2857, allocations: 7.938 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.2859, allocations: 39.81 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.2859, allocations: 3.984 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2859, allocations: 0 / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.2859, allocations: 4 kB / 0.8298 GB, free: 14.41 MB / 0.6544 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.000652/0.2865, allocations: 347.4 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.2866, allocations: 8.031 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.2866, allocations: 8.938 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.2868, allocations: 168.2 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2868, allocations: 12.31 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.2869, allocations: 4.375 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.2871, allocations: 62.16 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2871, allocations: 4.125 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2871, allocations: 3.938 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2871, allocations: 0 / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.2873, allocations: 35.97 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.2878, allocations: 269 kB / 0.8307 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.2879, allocations: 46.53 kB / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.669e-05/0.288, allocations: 28.83 kB / 0.8307 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.2881, allocations: 0 / 0.8307 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.2883, allocations: 63.39 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2883, allocations: 0 / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004192/0.2887, allocations: 105.5 kB / 0.8309 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.2888, allocations: 59.34 kB / 0.831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.2889, allocations: 113.8 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.2889, allocations: 29.7 kB / 0.8311 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.289, allocations: 84.14 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.289, allocations: 7.891 kB / 0.8312 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.289, allocations: 25.7 kB / 0.8312 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2892, allocations: 310.8 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.2893, allocations: 19.98 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2894, allocations: 42.55 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.2896, allocations: 62.42 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2896, allocations: 0 / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002268/0.2898, allocations: 89.5 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.2898, allocations: 8 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2898, allocations: 3.984 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2899, allocations: 0 / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.29, allocations: 12 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.29, allocations: 0 / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.2901, allocations: 7.984 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2901, allocations: 8.094 kB / 0.8318 GB, free: 12.16 MB / 0.6544 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 (triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.2902, allocations: 117.7 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.2902, allocations: 4 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.2903, allocations: 7.891 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2903, allocations: 0 / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2903, allocations: 4 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2903, allocations: 7.875 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.2908, allocations: 338.4 kB / 0.8322 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2908, allocations: 4 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.157e-05/0.2909, allocations: 8.109 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2909, allocations: 0 / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2909, allocations: 4 kB / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2909, allocations: 0 / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2909, allocations: 0 / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.2912, allocations: 187.4 kB / 0.8324 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.2913, allocations: 77.11 kB / 0.8325 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.2913, allocations: 3.984 kB / 0.8325 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.2914, allocations: 4.281 kB / 0.8325 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.2915, allocations: 7.984 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.2915, allocations: 3.938 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.549e-05/0.2916, allocations: 83.28 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2916, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002258/0.2919, allocations: 15.91 kB / 0.8326 GB, free: 11.19 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002044/0.2921, allocations: 107.2 kB / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.2923, allocations: 51.89 kB / 0.8327 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2924, allocations: 0 / 0.8327 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.2925, allocations: 19.98 kB / 0.8328 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.2928, allocations: 13.88 kB / 0.8328 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.2931, allocations: 117.6 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2935, allocations: 0.6844 MB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.882e-05/0.2935, allocations: 4 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.2936, allocations: 15.38 kB / 0.8336 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.2936, allocations: 0 / 0.8336 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.003139/0.2967, allocations: 0.5717 MB / 0.8341 GB, free: 9.566 MB / 0.6544 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)