Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002625/0.002626, allocations: 107.7 kB / 15.99 MB, free: 6.355 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.002862/0.002861, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.493/1.493, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.872/1.872, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001437/0.001437, allocations: 71.98 kB / 0.6717 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2851, allocations: 114.6 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002268/0.2875, allocations: 0.829 MB / 0.7843 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.289, allocations: 1.142 MB / 0.7855 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.289, allocations: 0 / 0.7855 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.2891, allocations: 3.938 kB / 0.7855 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.2892, allocations: 7.922 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.2897, allocations: 131 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.2899, allocations: 119.8 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.29, allocations: 11.98 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2901, allocations: 51.91 kB / 0.7858 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.2902, allocations: 39.83 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.2902, allocations: 12 kB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.2903, allocations: 23.98 kB / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.2903, allocations: 23.91 kB / 0.7859 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.2904, allocations: 39.84 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.2906, allocations: 71.84 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2906, allocations: 3.984 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2906, allocations: 0 / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2906, allocations: 4 kB / 0.786 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00061/0.2912, allocations: 413.2 kB / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2912, allocations: 8.031 kB / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.2913, allocations: 8.844 kB / 0.7864 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2915, allocations: 168.3 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2915, allocations: 8.375 kB / 0.7866 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.2915, allocations: 8.375 kB / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.2917, allocations: 62.22 kB / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2917, allocations: 192 / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.2918, allocations: 7.938 kB / 0.7866 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2918, allocations: 4 kB / 0.7866 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.292, allocations: 39.95 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.2925, allocations: 340.6 kB / 0.787 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.2927, allocations: 62.55 kB / 0.7871 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.2928, allocations: 32.97 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2928, allocations: 0 / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.2931, allocations: 95.3 kB / 0.7872 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 2.936e-06/0.2931, allocations: 3.984 kB / 0.7872 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004204/0.2935, allocations: 133.5 kB / 0.7873 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.2936, allocations: 59.39 kB / 0.7874 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.2937, allocations: 117.8 kB / 0.7875 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.2937, allocations: 33.7 kB / 0.7875 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.2938, allocations: 104 kB / 0.7876 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.2938, allocations: 15.81 kB / 0.7876 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.2939, allocations: 37.7 kB / 0.7877 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.294, allocations: 322.8 kB / 0.788 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.2942, allocations: 47.97 kB / 0.788 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.2944, allocations: 88.19 kB / 0.7881 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.2947, allocations: 145.8 kB / 0.7882 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2947, allocations: 0 / 0.7882 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004291/0.2951, allocations: 211.2 kB / 0.7884 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.2952, allocations: 33.7 kB / 0.7885 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2952, allocations: 0 / 0.7885 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2952, allocations: 7.938 kB / 0.7885 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2953, allocations: 16.05 kB / 0.7885 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2953, allocations: 320 / 0.7885 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.2955, allocations: 44.02 kB / 0.7885 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2956, allocations: 8 kB / 0.7885 GB, free: 8.43 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001087/0.2957, allocations: 121.8 kB / 0.7887 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.2957, allocations: 11.83 kB / 0.7887 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.2957, allocations: 12.38 kB / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2958, allocations: 0 / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2958, allocations: 0 / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2958, allocations: 0 / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.2963, allocations: 378.5 kB / 0.789 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2963, allocations: 4 kB / 0.789 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.2963, allocations: 15.92 kB / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2963, allocations: 0 / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2964, allocations: 0 / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2964, allocations: 4 kB / 0.7891 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2964, allocations: 0 / 0.7891 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.2967, allocations: 211.3 kB / 0.7893 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.2968, allocations: 81.02 kB / 0.7893 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.2968, allocations: 11.94 kB / 0.7894 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.2969, allocations: 7.984 kB / 0.7894 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.2969, allocations: 7.984 kB / 0.7894 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.297, allocations: 7.938 kB / 0.7894 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.608e-05/0.297, allocations: 91.27 kB / 0.7895 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.297, allocations: 0 / 0.7895 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002825/0.2973, allocations: 28 kB / 0.7895 GB, free: 7.355 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002425/0.2976, allocations: 115.1 kB / 0.7896 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000434/0.298, allocations: 175.5 kB / 0.7898 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.298, allocations: 4.062 kB / 0.7898 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2982, allocations: 35.97 kB / 0.7898 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.2985, allocations: 11.98 kB / 0.7898 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.2989, allocations: 216.3 kB / 0.79 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.2992, allocations: 0.6885 MB / 0.7907 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.2992, allocations: 11.44 kB / 0.7907 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2992, allocations: 0 / 0.7907 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.003128/0.3024, allocations: 1.264 MB / 0.7919 GB, free: 4.77 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)