Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.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.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009449/0.0009446, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008784/0.008784, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.682/1.682, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.959/1.959, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0007197/0.0007195, allocations: 13.72 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3054, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.001424/0.3069, allocations: 0.8798 MB / 0.7888 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003203/0.3101, allocations: 2.338 MB / 0.7911 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.3103, allocations: 4 kB / 0.7911 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.109e-05/0.3104, allocations: 15.8 kB / 0.7911 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.3106, allocations: 71.39 kB / 0.7911 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.3139, allocations: 1.322 MB / 0.7924 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3154, allocations: 1.053 MB / 0.7935 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3155, allocations: 24.75 kB / 0.7935 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006557/0.3161, allocations: 423.2 kB / 0.7939 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.3166, allocations: 327 kB / 0.7942 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.3168, allocations: 60 kB / 0.7943 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.317, allocations: 79.92 kB / 0.7943 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.3171, allocations: 55.81 kB / 0.7944 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.3175, allocations: 368.7 kB / 0.7947 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009362/0.3184, allocations: 0.9156 MB / 0.7956 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3185, allocations: 0 / 0.7956 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3185, allocations: 0 / 0.7956 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3185, allocations: 4 kB / 0.7956 GB, free: 3.629 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.00109/0.3196, allocations: 1.004 MB / 0.7966 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3197, allocations: 8.031 kB / 0.7966 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.3198, allocations: 64.56 kB / 0.7967 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.32, allocations: 220.5 kB / 0.7969 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.3201, allocations: 36.36 kB / 0.7969 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.3202, allocations: 68.36 kB / 0.797 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.3205, allocations: 210.9 kB / 0.7972 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3205, allocations: 4.188 kB / 0.7972 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.3205, allocations: 11.92 kB / 0.7972 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3206, allocations: 0 / 0.7972 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.3207, allocations: 71.72 kB / 0.7973 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009259/0.3216, allocations: 0.8522 MB / 0.7981 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.322, allocations: 319.3 kB / 0.7984 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.3222, allocations: 140.8 kB / 0.7986 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3222, allocations: 11.94 kB / 0.7986 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006548/0.3229, allocations: 466.6 kB / 0.799 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 3.096e-06/0.3229, allocations: 0 / 0.799 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001068/0.324, allocations: 0.5572 MB / 0.7996 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002181/0.3242, allocations: 443.2 kB / 0.8 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.3245, allocations: 300.2 kB / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.3247, allocations: 69.69 kB / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.3249, allocations: 161.3 kB / 0.8005 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/0.325, allocations: 90.86 kB / 0.8006 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.3252, allocations: 101.7 kB / 0.8007 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3253, allocations: 350.8 kB / 0.801 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008367/0.3262, allocations: 421.3 kB / 0.8014 GB, free: 13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009742/0.3272, allocations: 0.7067 MB / 0.8021 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.3285, allocations: 1.196 MB / 0.8033 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3285, allocations: 0 / 0.8033 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002747/0.3313, allocations: 1.725 MB / 0.8049 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002872/0.3316, allocations: 481.4 kB / 0.8054 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.3316, allocations: 8 kB / 0.8054 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.3317, allocations: 12 kB / 0.8054 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.3317, allocations: 31.86 kB / 0.8055 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.3318, allocations: 23.92 kB / 0.8055 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.3345, allocations: 0.5645 MB / 0.806 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.3346, allocations: 99.92 kB / 0.8061 GB, free: 7.613 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 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003806/0.335, allocations: 217.5 kB / 0.8063 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3351, allocations: 51.45 kB / 0.8064 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.3352, allocations: 38.14 kB / 0.8064 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3353, allocations: 8 kB / 0.8064 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.3353, allocations: 4 kB / 0.8064 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3353, allocations: 4 kB / 0.8064 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.3357, allocations: 329.3 kB / 0.8067 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3357, allocations: 4 kB / 0.8067 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.3357, allocations: 23.92 kB / 0.8068 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.3358, allocations: 7.938 kB / 0.8068 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.3358, allocations: 23.97 kB / 0.8068 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.3358, allocations: 7.938 kB / 0.8068 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3358, allocations: 4 kB / 0.8068 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.3365, allocations: 0.5158 MB / 0.8073 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.3366, allocations: 120.6 kB / 0.8074 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.3366, allocations: 19.98 kB / 0.8074 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.3368, allocations: 11.98 kB / 0.8075 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.3369, allocations: 63.75 kB / 0.8075 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.3369, allocations: 31.98 kB / 0.8076 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001675/0.3371, allocations: 191.1 kB / 0.8077 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3371, allocations: 0 / 0.8077 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007091/0.3378, allocations: 204 kB / 0.8079 GB, free: 5.625 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 (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.000208/0.338, allocations: 135.1 kB / 0.8081 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.3401, allocations: 1.742 MB / 0.8098 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3401, allocations: 3.938 kB / 0.8098 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.3404, allocations: 184.2 kB / 0.8099 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/0.3413, allocations: 126.3 kB / 0.8101 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3426, allocations: 0.7088 MB / 0.8108 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.343, allocations: 0.7761 MB / 0.8115 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000153/0.3432, allocations: 42.97 kB / 0.8116 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.121e-05/0.3433, allocations: 39.42 kB / 0.8116 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of SimCode: time 1.984e-06/0.3433, allocations: 0 / 0.8116 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of Templates: time 0.02287/0.3661, allocations: 11.37 MB / 0.8227 GB, free: 6.391 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: