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.0007461/0.0007461, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009159/0.000916, allocations: 168.7 kB / 15.95 MB, free: 200 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.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.68/1.68, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005182/0.0005182, allocations: 19.55 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.001263/0.2365, allocations: 0.8414 MB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.2388, allocations: 2.159 MB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.2389, allocations: 0 / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.239, allocations: 15.8 kB / 0.7903 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.2391, allocations: 75.39 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.2418, allocations: 1.272 MB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008453/0.2427, allocations: 0.9355 MB / 0.7925 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.2428, allocations: 24.73 kB / 0.7925 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.2432, allocations: 423.3 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.2435, allocations: 323.1 kB / 0.7932 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.2437, allocations: 56 kB / 0.7933 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.2438, allocations: 75.98 kB / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.2439, allocations: 51.81 kB / 0.7934 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.2441, allocations: 129.5 kB / 0.7935 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.2447, allocations: 0.6625 MB / 0.7942 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2447, allocations: 8 kB / 0.7942 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2447, allocations: 0 / 0.7942 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2447, allocations: 0 / 0.7942 GB, free: 4.902 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.00101/0.2457, allocations: 1.012 MB / 0.7952 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2458, allocations: 8.031 kB / 0.7952 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.2459, allocations: 63.62 kB / 0.7952 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.2461, allocations: 211.3 kB / 0.7954 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.2461, allocations: 35.98 kB / 0.7955 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.2463, allocations: 63.98 kB / 0.7955 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.2466, allocations: 216.7 kB / 0.7957 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2466, allocations: 0 / 0.7957 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2466, allocations: 11.98 kB / 0.7957 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.2466, allocations: 7.938 kB / 0.7957 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.2467, allocations: 71.72 kB / 0.7958 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007815/0.2475, allocations: 0.8522 MB / 0.7966 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.2478, allocations: 319.2 kB / 0.797 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.2479, allocations: 140.9 kB / 0.7971 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.248, allocations: 11.94 kB / 0.7971 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005195/0.2485, allocations: 458.8 kB / 0.7975 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.443e-06/0.2485, allocations: 0 / 0.7975 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.000926/0.2494, allocations: 0.5578 MB / 0.7981 GB, free: 324 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002314/0.2497, allocations: 439.2 kB / 0.7985 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.2499, allocations: 292.4 kB / 0.7988 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.2501, allocations: 69.69 kB / 0.7988 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.2503, allocations: 165.2 kB / 0.799 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.897e-05/0.2504, allocations: 86.95 kB / 0.7991 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2505, allocations: 35.98 kB / 0.7991 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2506, allocations: 354.8 kB / 0.7995 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007709/0.2514, allocations: 417.3 kB / 0.7999 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009735/0.2524, allocations: 0.7028 MB / 0.8005 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.2534, allocations: 0.8217 MB / 0.8013 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.2534, allocations: 4 kB / 0.8013 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002466/0.2559, allocations: 1.713 MB / 0.803 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002992/0.2562, allocations: 481.5 kB / 0.8035 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.2562, allocations: 12 kB / 0.8035 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.2563, allocations: 16 kB / 0.8035 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.2563, allocations: 35.8 kB / 0.8035 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.2564, allocations: 23.86 kB / 0.8036 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.2586, allocations: 0.5634 MB / 0.8041 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.2588, allocations: 103.9 kB / 0.8042 GB, free: 9.484 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.0003497/0.2592, allocations: 222.2 kB / 0.8044 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.2592, allocations: 39.53 kB / 0.8045 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.13e-05/0.2593, allocations: 38.14 kB / 0.8045 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.2593, allocations: 8 kB / 0.8045 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.2594, allocations: 7.984 kB / 0.8045 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.2594, allocations: 7.984 kB / 0.8045 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.2597, allocations: 333.3 kB / 0.8048 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2597, allocations: 8 kB / 0.8048 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.2598, allocations: 23.92 kB / 0.8049 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.2598, allocations: 11.94 kB / 0.8049 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.2598, allocations: 15.98 kB / 0.8049 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.2599, allocations: 8 kB / 0.8049 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.2599, allocations: 7.984 kB / 0.8049 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.2605, allocations: 0.512 MB / 0.8054 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.2606, allocations: 116.6 kB / 0.8055 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.2606, allocations: 15.98 kB / 0.8055 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2608, allocations: 15.98 kB / 0.8056 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.2609, allocations: 59.83 kB / 0.8056 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.2609, allocations: 27.98 kB / 0.8056 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001531/0.2611, allocations: 187.1 kB / 0.8058 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2611, allocations: 0 / 0.8058 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000594/0.2617, allocations: 200 kB / 0.806 GB, free: 7.512 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.0002046/0.2619, allocations: 143 kB / 0.8061 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.2638, allocations: 1.743 MB / 0.8078 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2638, allocations: 0 / 0.8078 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.264, allocations: 184.9 kB / 0.808 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.2647, allocations: 117.1 kB / 0.8081 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/0.2656, allocations: 0.6823 MB / 0.8088 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.266, allocations: 0.78 MB / 0.8096 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.2661, allocations: 42.97 kB / 0.8096 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.2662, allocations: 39.42 kB / 0.8096 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of SimCode: time 1.91e-07/0.2662, allocations: 0 / 0.8096 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of Templates: time 0.01583/0.282, allocations: 10.89 MB / 0.8203 GB, free: 8.777 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: