Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009484/0.0009531, allocations: 99.86 kB / 15.05 MB, free: 1.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.0009807/0.0009807, allocations: 177.3 kB / 15.95 MB, free: 216 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.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.699/1.699, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005266/0.0005268, allocations: 19.31 kB / 0.6736 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001537/0.244, allocations: 0.8339 MB / 0.788 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.247, allocations: 1.893 MB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.2473, allocations: 4 kB / 0.7898 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.673e-05/0.2474, allocations: 11.81 kB / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.2477, allocations: 99.73 kB / 0.7899 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.251, allocations: 1.286 MB / 0.7912 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.2522, allocations: 0.5733 MB / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2523, allocations: 20.75 kB / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.2532, allocations: 419.3 kB / 0.7921 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.2538, allocations: 327.1 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004473/0.2543, allocations: 60 kB / 0.7925 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.2547, allocations: 71.98 kB / 0.7926 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.2548, allocations: 55.75 kB / 0.7926 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.2551, allocations: 125.6 kB / 0.7928 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007874/0.2559, allocations: 0.6664 MB / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2559, allocations: 0 / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2559, allocations: 0 / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.2559, allocations: 0 / 0.7934 GB, free: 5.551 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001346/0.2573, allocations: 1.008 MB / 0.7944 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.2573, allocations: 8.031 kB / 0.7944 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.2577, allocations: 67.62 kB / 0.7945 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2579, allocations: 215.3 kB / 0.7947 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.258, allocations: 35.98 kB / 0.7947 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.2582, allocations: 63.98 kB / 0.7948 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.2585, allocations: 217.3 kB / 0.795 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2585, allocations: 4 kB / 0.795 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.2585, allocations: 4 kB / 0.795 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2585, allocations: 0 / 0.795 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.2587, allocations: 75.7 kB / 0.7951 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.2597, allocations: 0.8522 MB / 0.7959 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.26, allocations: 323.2 kB / 0.7962 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.26, allocations: 4.062 kB / 0.7962 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006228/0.2607, allocations: 470.8 kB / 0.7966 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.184e-06/0.2607, allocations: 0 / 0.7966 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.001083/0.2618, allocations: 0.5579 MB / 0.7972 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002347/0.262, allocations: 435.2 kB / 0.7976 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.2623, allocations: 284.4 kB / 0.7979 GB, free: 340 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.2625, allocations: 81.62 kB / 0.798 GB, free: 252 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.2627, allocations: 165.2 kB / 0.7981 GB, free: 80 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.2628, allocations: 87.12 kB / 0.7982 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.263, allocations: 36 kB / 0.7982 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2631, allocations: 350.8 kB / 0.7986 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/0.2639, allocations: 421.3 kB / 0.799 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009703/0.2649, allocations: 0.695 MB / 0.7996 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009098/0.2658, allocations: 0.8291 MB / 0.8005 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.2658, allocations: 4 kB / 0.8005 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002502/0.2683, allocations: 1.717 MB / 0.8021 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000292/0.2686, allocations: 481.4 kB / 0.8026 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.2687, allocations: 8 kB / 0.8026 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.2687, allocations: 20.16 kB / 0.8026 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.2688, allocations: 35.8 kB / 0.8027 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.2688, allocations: 19.92 kB / 0.8027 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.2713, allocations: 0.5648 MB / 0.8032 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.2715, allocations: 91.92 kB / 0.8033 GB, free: 10.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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 0.0004255/0.272, allocations: 233.4 kB / 0.8035 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2721, allocations: 43.53 kB / 0.8036 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.41e-05/0.2722, allocations: 34.14 kB / 0.8036 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.2722, allocations: 8 kB / 0.8036 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.2722, allocations: 8 kB / 0.8036 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.2722, allocations: 7.984 kB / 0.8036 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.2727, allocations: 333.3 kB / 0.8039 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.2727, allocations: 4 kB / 0.804 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.2728, allocations: 23.92 kB / 0.804 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.2728, allocations: 8 kB / 0.804 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.2728, allocations: 19.98 kB / 0.804 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.2728, allocations: 4 kB / 0.804 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.2728, allocations: 7.938 kB / 0.804 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007895/0.2736, allocations: 0.6799 MB / 0.8047 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.2737, allocations: 104.7 kB / 0.8048 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.2738, allocations: 15.98 kB / 0.8048 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2739, allocations: 15.98 kB / 0.8048 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/0.274, allocations: 63.83 kB / 0.8049 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.2741, allocations: 31.98 kB / 0.8049 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001717/0.2743, allocations: 187.1 kB / 0.8051 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2743, allocations: 0 / 0.8051 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007125/0.275, allocations: 196 kB / 0.8053 GB, free: 8.098 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0001989/0.2752, allocations: 135.1 kB / 0.8054 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002094/0.2773, allocations: 1.746 MB / 0.8071 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2773, allocations: 4 kB / 0.8071 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.2776, allocations: 184.3 kB / 0.8073 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.2782, allocations: 105 kB / 0.8074 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.2792, allocations: 0.6837 MB / 0.808 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.2795, allocations: 0.7839 MB / 0.8088 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.2797, allocations: 46.95 kB / 0.8089 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.2798, allocations: 39.42 kB / 0.8089 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2798, allocations: 0 / 0.8089 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of Templates: time 0.02015/0.2999, allocations: 10.87 MB / 0.8195 GB, free: 9.387 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) Environment - environmentSimulation: