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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.672/1.672, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.991/1.991, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001487/0.001487, allocations: 70.11 kB / 0.6715 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2863, allocations: 114.5 MB / 0.7834 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002345/0.2887, allocations: 0.7623 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.2904, allocations: 1.063 MB / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.2905, allocations: 7.938 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.2906, allocations: 7.922 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.477e-05/0.2907, allocations: 11.88 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.291, allocations: 47.89 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2912, allocations: 75.72 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.2913, allocations: 20.16 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.2914, allocations: 31.86 kB / 0.7854 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.2915, allocations: 35.84 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2915, allocations: 12 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.2916, allocations: 15.98 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.2917, allocations: 19.97 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.2917, allocations: 27.81 kB / 0.7855 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2919, allocations: 76.02 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2919, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2919, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.2919, allocations: 0 / 0.7855 GB, free: 11.34 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.0006895/0.2926, allocations: 383.2 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2927, allocations: 12.03 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.2927, allocations: 8.844 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.293, allocations: 180.2 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.293, allocations: 8.359 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.293, allocations: 4.375 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.2932, allocations: 70.22 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2933, allocations: 7.938 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2933, allocations: 0 / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2933, allocations: 0 / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.2935, allocations: 51.89 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.2942, allocations: 320.7 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.2944, allocations: 63.64 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/0.2945, allocations: 24.97 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2945, allocations: 7.984 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.2948, allocations: 75.38 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.2948, allocations: 0 / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004461/0.2953, allocations: 129.5 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.2953, allocations: 55.34 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2955, allocations: 125.8 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2955, allocations: 25.7 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.2956, allocations: 96.11 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2956, allocations: 19.75 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.2957, allocations: 33.64 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2958, allocations: 326.8 kB / 0.7875 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2959, allocations: 27.97 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2961, allocations: 73.92 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.2963, allocations: 109.8 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2963, allocations: 4 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003425/0.2967, allocations: 129.4 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2967, allocations: 8 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2967, allocations: 0 / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.2967, allocations: 4 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.2969, allocations: 24.12 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2969, allocations: 4 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.297, allocations: 11.91 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.297, allocations: 7.984 kB / 0.7879 GB, free: 8.688 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 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.2971, allocations: 122.7 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.2971, allocations: 4 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.2972, allocations: 4.375 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2972, allocations: 4 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2972, allocations: 0 / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2972, allocations: 4 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.2978, allocations: 382.2 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2978, allocations: 0 / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.2979, allocations: 11.98 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2979, allocations: 0 / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2979, allocations: 0 / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2979, allocations: 3.938 kB / 0.7884 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.2979, allocations: 8 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.2983, allocations: 199.3 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.2984, allocations: 77.11 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2984, allocations: 8 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.2985, allocations: 19.86 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.2986, allocations: 7.984 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.2986, allocations: 4 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.223e-05/0.2986, allocations: 91.27 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2986, allocations: 0 / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002562/0.2989, allocations: 19.91 kB / 0.7888 GB, free: 7.637 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 (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.0002008/0.2991, allocations: 107.2 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.2994, allocations: 83.88 kB / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2994, allocations: 0 / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.2996, allocations: 35.97 kB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2999, allocations: 15.62 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.3003, allocations: 170.5 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3006, allocations: 0.6908 MB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.3006, allocations: 7.938 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.3006, allocations: 11.44 kB / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3006, allocations: 0 / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.00388/0.3045, allocations: 0.9576 MB / 0.7908 GB, free: 5.516 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (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)