Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007745/0.0007746, allocations: 86.56 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.0008863/0.0008865, 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.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.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.782/1.782, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.000484/0.0004841, allocations: 19.75 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008378/0.2282, allocations: 398.4 kB / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2297, allocations: 1.146 MB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.2297, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.2298, allocations: 3.938 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.429e-05/0.2298, allocations: 3.938 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.2304, allocations: 138.8 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.2305, allocations: 99.78 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.2306, allocations: 4 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.2307, allocations: 47.89 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.2308, allocations: 47.86 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.2308, allocations: 11.94 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.2309, allocations: 15.98 kB / 0.7892 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.2309, allocations: 15.92 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.231, allocations: 41.7 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.2311, allocations: 72.09 kB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2311, allocations: 0 / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2311, allocations: 4 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2311, allocations: 0 / 0.7893 GB, free: 9.891 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005367/0.2317, allocations: 396.8 kB / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2317, allocations: 8.031 kB / 0.7897 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.2318, allocations: 4 kB / 0.7897 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2319, allocations: 175 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.232, allocations: 7.984 kB / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.232, allocations: 4 kB / 0.7899 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.2322, allocations: 81.58 kB / 0.7899 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.2322, allocations: 0 / 0.7899 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2323, allocations: 4 kB / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2323, allocations: 0 / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.2324, allocations: 47.97 kB / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.2329, allocations: 320.7 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.2331, allocations: 70.48 kB / 0.7904 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.2332, allocations: 44.89 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.2332, allocations: 4 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.2335, allocations: 99.34 kB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.2335, allocations: 0 / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004818/0.234, allocations: 185.5 kB / 0.7907 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.234, allocations: 63.34 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.211e-05/0.2341, allocations: 113.8 kB / 0.7908 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2342, allocations: 29.7 kB / 0.7909 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.2342, allocations: 88.31 kB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.2343, allocations: 23.66 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.2343, allocations: 8 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2344, allocations: 323.5 kB / 0.7913 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2345, allocations: 55.97 kB / 0.7913 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2347, allocations: 70.55 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2348, allocations: 77.67 kB / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2349, allocations: 0 / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003997/0.2353, allocations: 195.3 kB / 0.7917 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.2353, allocations: 37.69 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2353, allocations: 96 / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2353, allocations: 7.875 kB / 0.7917 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2354, allocations: 15.98 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2355, allocations: 0 / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.2357, allocations: 47.94 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2357, allocations: 11.98 kB / 0.7918 GB, free: 7.066 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.97e-05/0.2358, allocations: 124.9 kB / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.2358, allocations: 3.906 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.2359, allocations: 12.38 kB / 0.7919 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2359, allocations: 3.938 kB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2359, allocations: 4 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2359, allocations: 7.969 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.2364, allocations: 414.3 kB / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2364, allocations: 0 / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.2365, allocations: 4 kB / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.2365, allocations: 0 / 0.7923 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2365, allocations: 11.98 kB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2365, allocations: 0 / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2365, allocations: 0 / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.2369, allocations: 247.3 kB / 0.7926 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.2369, allocations: 81.11 kB / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.237, allocations: 0 / 0.7927 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.2371, allocations: 11.98 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.2371, allocations: 7.984 kB / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2371, allocations: 8 kB / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.2372, allocations: 95.39 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2372, allocations: 0 / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00026/0.2375, allocations: 24 kB / 0.7928 GB, free: 5.93 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: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001572/0.2376, allocations: 111.2 kB / 0.7929 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.238, allocations: 191.2 kB / 0.7931 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.238, allocations: 0 / 0.7931 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.2382, allocations: 55.97 kB / 0.7931 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2384, allocations: 16.03 kB / 0.7932 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.2388, allocations: 194 kB / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2391, allocations: 0.6926 MB / 0.794 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.2392, allocations: 4.672 kB / 0.794 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.2392, allocations: 11.44 kB / 0.794 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2392, allocations: 0 / 0.794 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of Templates: time 0.004298/0.2435, allocations: 1.491 MB / 0.7955 GB, free: 3.117 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) Environment - environmentSimulation: