Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.238/2.238, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002114/0.002114, allocations: 176.2 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.499/2.499, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000909/0.0009089, allocations: 88.73 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007131/0.0007134, allocations: 14.59 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2874, allocations: 106.3 MB / 0.8991 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002353/0.2899, allocations: 1.095 MB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008808/0.2908, allocations: 237.5 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.2909, allocations: 0 / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.291, allocations: 11.92 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.2911, allocations: 3.938 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.2915, allocations: 27.97 kB / 0.9004 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.2916, allocations: 63.83 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2918, allocations: 4 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.2919, allocations: 23.91 kB / 0.9005 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.292, allocations: 35.84 kB / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.2921, allocations: 0 / 0.9005 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.319e-05/0.2921, allocations: 4 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.2922, allocations: 19.97 kB / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.2922, allocations: 29.7 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2924, allocations: 47.83 kB / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2924, allocations: 0 / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2924, allocations: 0 / 0.9006 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2925, allocations: 0 / 0.9006 GB, free: 63.78 MB / 0.6042 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.0009523/0.2934, allocations: 372.9 kB / 0.901 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.2935, allocations: 12.03 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.2936, allocations: 4.938 kB / 0.901 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.2937, allocations: 176.2 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.2938, allocations: 384 / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.2939, allocations: 8.375 kB / 0.9012 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.2943, allocations: 74.19 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.2944, allocations: 4.188 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.2944, allocations: 11.86 kB / 0.9012 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2944, allocations: 0 / 0.9012 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.2949, allocations: 51.91 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.2956, allocations: 288.8 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2959, allocations: 70.48 kB / 0.9016 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.2961, allocations: 36.97 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2961, allocations: 0 / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003673/0.2965, allocations: 107.3 kB / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.305e-06/0.2965, allocations: 0 / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0007853/0.2973, allocations: 181.5 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.2974, allocations: 51.41 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.2975, allocations: 113.8 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.2975, allocations: 33.69 kB / 0.9021 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.2975, allocations: 84.14 kB / 0.9022 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.2976, allocations: 19.72 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.2976, allocations: 0 / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.2977, allocations: 318.8 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.2978, allocations: 27.98 kB / 0.9026 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.298, allocations: 49.64 kB / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.2982, allocations: 27.98 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2982, allocations: 7.875 kB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00038/0.2986, allocations: 105.9 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2986, allocations: 8 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2986, allocations: 4 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2987, allocations: 0 / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.2988, allocations: 19.98 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2989, allocations: 0 / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.299, allocations: 19.83 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.299, allocations: 8.031 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.596e-05/0.2991, allocations: 117.8 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.2992, allocations: 7.938 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.2992, allocations: 12.36 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2992, allocations: 4 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2992, allocations: 0 / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2992, allocations: 0 / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.3002, allocations: 430.3 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3003, allocations: 0 / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.3003, allocations: 8 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3003, allocations: 0 / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3004, allocations: 7.984 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.3004, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3004, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.3009, allocations: 235.3 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.3009, allocations: 85.09 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.301, allocations: 0 / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3012, allocations: 11.98 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.3013, allocations: 11.98 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.3013, allocations: 8 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.3013, allocations: 95.48 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3014, allocations: 0 / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002996/0.3017, allocations: 12 kB / 0.9038 GB, free: 60.18 MB / 0.6042 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 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,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.0001438/0.3018, allocations: 111.1 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.3022, allocations: 83.89 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3022, allocations: 0 / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.3025, allocations: 47.92 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3028, allocations: 15.98 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.3034, allocations: 191.7 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.3036, allocations: 0.6926 MB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.911e-05/0.3036, allocations: 4.672 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.3037, allocations: 11.44 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.3037, allocations: 0 / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.004205/0.3079, allocations: 1.009 MB / 0.9059 GB, free: 57.97 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)