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.001312/0.001312, allocations: 105.8 kB / 16.29 MB, free: 6.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.001409/0.001409, allocations: 187.3 kB / 17.22 MB, free: 5.723 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.559/1.559, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.884/1.884, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001645/0.001645, allocations: 75.02 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2957, allocations: 114.6 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002608/0.2984, allocations: 0.745 MB / 0.7848 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.3005, allocations: 1.156 MB / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.3006, allocations: 0 / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.044e-05/0.3007, allocations: 3.938 kB / 0.786 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3008, allocations: 7.922 kB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.3015, allocations: 143.3 kB / 0.7861 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.3018, allocations: 127.7 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3019, allocations: 12 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.302, allocations: 43.91 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3022, allocations: 47.86 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.3022, allocations: 8 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.3023, allocations: 31.98 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.3023, allocations: 11.92 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.3024, allocations: 43.84 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.3026, allocations: 111.7 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3026, allocations: 3.938 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3027, allocations: 0 / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3027, allocations: 0 / 0.7865 GB, free: 1.371 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006807/0.3034, allocations: 413.2 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3034, allocations: 8.031 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.3035, allocations: 16.84 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3036, allocations: 168.3 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.3036, allocations: 8.297 kB / 0.7871 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.3037, allocations: 8.375 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.3039, allocations: 62.23 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3039, allocations: 192 / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.304, allocations: 7.922 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.304, allocations: 0 / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.3041, allocations: 43.97 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.3047, allocations: 336.6 kB / 0.7875 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3049, allocations: 58.55 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.305, allocations: 40.95 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3051, allocations: 4 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.593/0.8981, allocations: 83.55 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 5.24e-06/0.8982, allocations: 1.219 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005454/0.8987, allocations: 143.4 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.8988, allocations: 52.12 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.8989, allocations: 118.9 kB / 0.788 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.8989, allocations: 30.42 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.899, allocations: 97.23 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.899, allocations: 15.55 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.8991, allocations: 37.34 kB / 0.7882 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.8992, allocations: 320 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.8994, allocations: 56.7 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.8996, allocations: 84.55 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.8998, allocations: 146.3 kB / 0.7888 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8998, allocations: 0 / 0.7888 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003995/0.9003, allocations: 211.3 kB / 0.789 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.9003, allocations: 41.55 kB / 0.789 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.9003, allocations: 0 / 0.789 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.9003, allocations: 2.594 kB / 0.789 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.9005, allocations: 12.78 kB / 0.789 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.9005, allocations: 1.594 kB / 0.789 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.9007, allocations: 42.73 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.9007, allocations: 10.45 kB / 0.7891 GB, free: 47.95 MB / 0.6544 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 9.57e-05/0.9008, allocations: 123.1 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.9008, allocations: 8.219 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.9009, allocations: 14.94 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9009, allocations: 1.172 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9009, allocations: 1.094 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.9009, allocations: 3.375 kB / 0.7892 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.9014, allocations: 375.8 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9014, allocations: 2.625 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.9014, allocations: 8.578 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.9014, allocations: 1.625 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.9014, allocations: 2.25 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.9015, allocations: 2.625 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9015, allocations: 0.5312 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.9017, allocations: 218.8 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.9018, allocations: 80 kB / 0.7899 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.9018, allocations: 5.5 kB / 0.7899 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.9019, allocations: 8.453 kB / 0.7899 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.902, allocations: 10.52 kB / 0.7899 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.902, allocations: 0.875 kB / 0.7899 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.902, allocations: 93.06 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.902, allocations: 0 / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002643/0.9023, allocations: 32.28 kB / 0.79 GB, free: 47.22 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: 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.0001796/0.9025, allocations: 109.1 kB / 0.7901 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004713/0.903, allocations: 180.1 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.903, allocations: 0 / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.9031, allocations: 36.89 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.9034, allocations: 17.94 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.9038, allocations: 158 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.904, allocations: 0.69 MB / 0.7912 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.904, allocations: 5.719 kB / 0.7912 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.904, allocations: 14.19 kB / 0.7912 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of SimCode: time 2.295e-06/0.9041, allocations: 0.75 kB / 0.7912 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.004289/0.9084, allocations: 1.45 MB / 0.7926 GB, free: 46.21 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)