Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.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.001618/0.001618, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001874/0.001874, allocations: 192.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 62.41 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2813, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002171/0.2836, allocations: 0.6902 MB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2852, allocations: 1.175 MB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.2852, allocations: 0 / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.2852, allocations: 7.938 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.684e-05/0.2853, allocations: 11.88 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.2858, allocations: 143.5 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.286, allocations: 131.8 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.2861, allocations: 4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.2862, allocations: 59.88 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.2864, allocations: 55.86 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.2864, allocations: 12 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.2865, allocations: 27.92 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.2865, allocations: 23.91 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.2866, allocations: 39.91 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.2868, allocations: 115.7 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2868, allocations: 8 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2868, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2868, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 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.0006353/0.2875, allocations: 393.1 kB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2875, allocations: 8.031 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.2876, allocations: 8.844 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.2877, allocations: 180.3 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2877, allocations: 4.375 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.2878, allocations: 8.375 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.288, allocations: 74.14 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.288, allocations: 192 / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.288, allocations: 3.938 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.288, allocations: 8 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.2882, allocations: 39.97 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.2887, allocations: 324.8 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.2889, allocations: 74.48 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.289, allocations: 44.77 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.289, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.2893, allocations: 103.3 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.775e-06/0.2893, allocations: 0 / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000495/0.2898, allocations: 185.4 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.2899, allocations: 55.39 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.29, allocations: 113.8 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.29, allocations: 29.7 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.2901, allocations: 88.14 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.2901, allocations: 27.58 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.2902, allocations: 37.7 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2903, allocations: 322.8 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.2905, allocations: 47.97 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.2906, allocations: 70.55 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.2908, allocations: 140.2 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2909, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003749/0.2912, allocations: 187.3 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.422e-05/0.2913, allocations: 34.55 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2913, allocations: 7.938 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2913, allocations: 3.984 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2914, allocations: 11.98 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2915, allocations: 8.062 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.2917, allocations: 35.86 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.2917, allocations: 8 kB / 1.032 GB, free: 12.69 MB / 0.8106 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,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * 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.0001043/0.2918, allocations: 126.8 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.2918, allocations: 7.906 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.2918, allocations: 16.3 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2919, allocations: 4 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2919, allocations: 4 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2919, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.2924, allocations: 398.4 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2924, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.301e-05/0.2924, allocations: 7.984 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2924, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2924, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2924, allocations: 4 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2924, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.2928, allocations: 243.3 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.2929, allocations: 89.05 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2929, allocations: 7.984 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.293, allocations: 4 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.293, allocations: 7.984 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.2931, allocations: 4 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.2931, allocations: 95.2 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2931, allocations: 4 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002606/0.2934, allocations: 24.47 kB / 1.033 GB, free: 11.56 MB / 0.8106 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 (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.0002082/0.2936, allocations: 107.2 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.294, allocations: 187.2 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.294, allocations: 0 / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.2941, allocations: 47.98 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.2944, allocations: 17.83 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.2949, allocations: 182.6 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2951, allocations: 0.6846 MB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.2952, allocations: 8.656 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.2952, allocations: 11.44 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2952, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.004207/0.2994, allocations: 1.662 MB / 1.036 GB, free: 8.617 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)