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.001268/0.001268, allocations: 104.7 kB / 15.98 MB, free: 5.891 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.00124/0.00124, allocations: 191.2 kB / 16.91 MB, free: 5.746 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.527/1.527, allocations: 205.1 MB / 222.8 MB, free: 4.637 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.736/1.736, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001381/0.001381, allocations: 73.02 kB / 0.6717 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.241, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime): time 0.002496/0.2436, allocations: 1.226 MB / 0.7847 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2462, allocations: 2.174 MB / 0.7869 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.2464, allocations: 0 / 0.7869 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.414e-05/0.2464, allocations: 11.81 kB / 0.7869 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2466, allocations: 75.39 kB / 0.787 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.2495, allocations: 1.312 MB / 0.7882 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.2508, allocations: 1.283 MB / 0.7895 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.2509, allocations: 20.75 kB / 0.7895 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005484/0.2514, allocations: 483.2 kB / 0.79 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.2518, allocations: 347 kB / 0.7903 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.252, allocations: 104 kB / 0.7904 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.2522, allocations: 120 kB / 0.7905 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.2523, allocations: 63.81 kB / 0.7906 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.2527, allocations: 395 kB / 0.7909 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.2533, allocations: 0.6861 MB / 0.7916 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2533, allocations: 3.938 kB / 0.7916 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2533, allocations: 0 / 0.7916 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2533, allocations: 0 / 0.7916 GB, free: 5.625 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.001361/0.2547, allocations: 1.176 MB / 0.7928 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2548, allocations: 12.03 kB / 0.7928 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.255, allocations: 64.59 kB / 0.7928 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2551, allocations: 216.4 kB / 0.793 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.2552, allocations: 36.36 kB / 0.7931 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.2554, allocations: 72.36 kB / 0.7932 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.2557, allocations: 221.5 kB / 0.7934 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2557, allocations: 192 / 0.7934 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.2557, allocations: 7.938 kB / 0.7934 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2557, allocations: 7.938 kB / 0.7934 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.2558, allocations: 67.78 kB / 0.7934 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000848/0.2567, allocations: 0.8483 MB / 0.7943 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.257, allocations: 323.2 kB / 0.7946 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.2571, allocations: 140.9 kB / 0.7947 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.2572, allocations: 8 kB / 0.7947 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006207/0.2578, allocations: 462.7 kB / 0.7952 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 1.943e-06/0.2578, allocations: 0 / 0.7952 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.0009938/0.2588, allocations: 0.5651 MB / 0.7957 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/0.259, allocations: 443.2 kB / 0.7961 GB, free: 332 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.2593, allocations: 296.3 kB / 0.7964 GB, free: 28 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.2595, allocations: 65.7 kB / 0.7965 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.2597, allocations: 161.3 kB / 0.7966 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.225e-05/0.2598, allocations: 94.84 kB / 0.7967 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004587/0.2602, allocations: 270.1 kB / 0.797 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2604, allocations: 350.8 kB / 0.7973 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008281/0.2612, allocations: 425.3 kB / 0.7977 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.2622, allocations: 0.7028 MB / 0.7984 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.2635, allocations: 1.191 MB / 0.7996 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.2636, allocations: 4 kB / 0.7996 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002732/0.2663, allocations: 1.721 MB / 0.8013 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.2666, allocations: 481.4 kB / 0.8017 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.2666, allocations: 12 kB / 0.8017 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.2666, allocations: 12 kB / 0.8017 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.2667, allocations: 35.84 kB / 0.8018 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.2668, allocations: 15.94 kB / 0.8018 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.2691, allocations: 427.1 kB / 0.8022 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.2693, allocations: 95.92 kB / 0.8023 GB, free: 9.426 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.0003731/0.2697, allocations: 222.1 kB / 0.8025 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2698, allocations: 47.45 kB / 0.8025 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.2699, allocations: 46.08 kB / 0.8026 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.2699, allocations: 8 kB / 0.8026 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.2699, allocations: 4 kB / 0.8026 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.2699, allocations: 4 kB / 0.8026 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.2703, allocations: 333.4 kB / 0.8029 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2703, allocations: 4 kB / 0.8029 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.2704, allocations: 15.92 kB / 0.8029 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.2704, allocations: 11.94 kB / 0.803 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2704, allocations: 19.98 kB / 0.803 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/0.2704, allocations: 7.938 kB / 0.803 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2704, allocations: 4 kB / 0.803 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.2711, allocations: 0.5199 MB / 0.8035 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.2712, allocations: 120.5 kB / 0.8036 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.2712, allocations: 15.98 kB / 0.8036 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2714, allocations: 16 kB / 0.8036 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.2714, allocations: 63.81 kB / 0.8037 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.2715, allocations: 27.98 kB / 0.8037 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000168/0.2717, allocations: 195.1 kB / 0.8039 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2717, allocations: 0 / 0.8039 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007646/0.2724, allocations: 196 kB / 0.8041 GB, free: 7.438 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.0002087/0.2727, allocations: 143.1 kB / 0.8042 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.2748, allocations: 1.766 MB / 0.806 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2748, allocations: 3.938 kB / 0.806 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.2754, allocations: 355.6 kB / 0.8063 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007124/0.2761, allocations: 122.3 kB / 0.8064 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.2772, allocations: 0.746 MB / 0.8071 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.2776, allocations: 0.7761 MB / 0.8079 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.2776, allocations: 35.44 kB / 0.8079 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.2777, allocations: 4 kB / 0.8079 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of Templates: time 0.0116/0.2893, allocations: 7.583 MB / 0.8153 GB, free: 11.72 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (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)